Using "return" to apply label on new epic creates epic without label
Summary
When creating an epic, applying a label by hitting "return" causes the epic to be created without any labels applied.
Steps to reproduce
- Go to the "New Epic" page for a group (e.g. https://gitlab.com/groups/gitlab-org/-/epics/new)
- Fill out title and description
- In the Labels dropdown, enter a value so that some label is auto-suggested. Hit your "return" key.
- See the epic form be submitted unexpectedly, and the resulting epic have no labels applied.
What is the current bug behavior?
Hitting "return" on an auto-suggested Labels value causes the whole form to be submitted.
What is the expected correct behavior?
Hitting "return" on an auto-suggested Labels value causes the label to be applied, like with an Issue.
Output of checks
This bug happens on GitLab.com.