external_multi_select view issue when pressing enter key
cerebrusdev opened this issue · comments
Description
Hi Slack team,
Pressing enter key in multi_select view causes view to crash. See details in below bug section.
What type of issue is this? (place an x
in one of the [ ]
)
- [ x] bug
- enhancement (feature request)
- question
- documentation related
- testing related
- discussion
Requirements (place an x
in each of the [ ]
)
- [ x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
- [ x] I've read and agree to the Code of Conduct.
- [ x] I've searched for any related issues and avoided creating a duplicate issue.
Bug Report
I am using views API to create a Modal that contains a multi_external_select element. When I type and try to select an item from options list via keyboard pressing enter key turns modal into "We can't fully display this message" dialog.
Reproducible in:
Development environment:
Mac OS Mojave Slack app
Web slack app on Google Chrome
Steps to reproduce:
- Open a modal view with multi_external_select element
- Start typing with computer keyboard to bring option suggestions
- Navigate with arrow down button and press enter button to select
Expected result:
The option I press enter on should be added to selected options
Actual result:
Dialog turns into "We can't fully display this message" dialog and the content is lost