Cannot deselect a label on a new issue
Summary
Selecting a ticked label when creating a new issue does nothing and Re-selecting the label results in an ephemeral duplicate label.
Steps to reproduce
- go to issues/new
- click on the
Labelsinput, click to select a label (say,foo), thefoolabel is added in the input list - close the selector box
- click on the
Labelsinput, click to deselect the tickedfoolabel, the list gets closed but thefoolabel stays - click on the
Labelsinput, click to select the now untickedfoolabel, the list saysfoo +1 more - repeat at will to increase the count
Expected behavior
Label should be deselected
Actual behavior
Label is not deselected, creating a runaway counter reaction
Output of checks
This bug happens on GitLab.com