New label selection: fix reload after selection with keyboard
What does this MR do and why?
New label selection: fix reload after selection with keyboard (prevents form submission after using enter, see steps to reproduce).
Releated to Add improved label selection to issues and MRs ... (!88908 - merged)
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
echo "Feature.enable(:visible_label_selection_on_metadata)" | rails c
- Go to the new issue page (http://gdk.test:3000/flightjs/Flight/-/issues/new)
- Click the label dropdown
- Search for a label and hit enter
- The dropdown closes (or submits the issue if a title is set)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #398215 (closed)
Edited by Sascha Eggenberger