BotFramework-Composer
BotFramework-Composer copied to clipboard
Number input, Expected responses editing is broken
Describe the bug
The Expected responses field is now a single line property with no intuitive way [if any] to provide a multi-line .lu format value.
Version
Version: 2.0.0-nightly.244572.8406071 Electron: 8.2.4 Chrome: 80.0.3987.165 NodeJS: 12.13.0 V8: 8.0.426.27-electron.0
Browser
- [x] Electron distribution
- [ ] Chrome
- [ ] Safari
- [ ] Firefox
- [ ] Edge
OS
- [ ] macOS
- [x] Windows
- [ ] Ubuntu
To Reproduce
Steps to reproduce the behavior:
- Add a Prompt for a number action
- Go to the User input tab in the action's properties pane.
- See error: Expected responses is now a one-line input field, with the watermark mangled and no way to use the Enter key to create a multi-line value.
Expected behavior
This field should allow multi-line values (.lu format).
Screenshots
I can't repro this when using defaultRecognizer, but i can see this in regex recognizer. @JonathanFingold are you using default recognizer or the regex recognizer?
If this is regex, then it is expected by current design, because regex recognizer doesn't depends on lu file, so we purposely make it a one line input for the pattern, and we will serialize the pattern into .dialog file directly (instead of .lu file). What we need to do is maybe update the placeholder to make it clear. The control itself looks right to me.
To shiproom: this is probably not a P0.
Shiproom - moving out of R13
@boydc2014 , yes, I had set the dialog to use a RegEx recognizer.
- Some context sensitive help text associated with this field would be helpful.
- Replacing the placeholder/watermark text would also be helpful.
We can take a placeholder/copy update. I'd like @garypretty to weigh in on what that copy should say.
I wasn't able to reproduce the issue