Skip to content

New label selection: fix reload after selection with keyboard

Sascha Eggenberger requested to merge label-selection-reload-fix into master

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
before after

How to set up and validate locally

  1. echo "Feature.enable(:visible_label_selection_on_metadata)" | rails c
  2. Go to the new issue page (http://gdk.test:3000/flightjs/Flight/-/issues/new)
  3. Click the label dropdown
  4. Search for a label and hit enter
  5. 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.

Related to #398215 (closed)

Edited by Sascha Eggenberger

Merge request reports