plane icon indicating copy to clipboard operation
plane copied to clipboard

[bug]: Pressing enter in the labels dropdown creates a new label even if there's one with a matching name

Open Wizzerinus opened this issue 6 months ago • 5 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Current behavior

I expect that pressing enter in the Labels dropdown selects a label if possible, but it creates one instead

Apologies for poor screen cropping

https://github.com/user-attachments/assets/92fbd824-bf65-465b-a723-ffb80ebd3547

Steps to reproduce

  1. Go to kanban view
  2. Click on any work item
  3. Click "labels" to choose the label
  4. Type a label name and press enter

Environment

Production

Browser

Mozilla Firefox

Variant

Cloud

Version

v0.26.1

Wizzerinus avatar Jun 30 '25 20:06 Wizzerinus

Hi @vihar and @pushya22, would love to work on this issue; i see u two are assigned on most issues (recent) so maybe i could be of a little help ..

lakshaydewan avatar Jul 01 '25 16:07 lakshaydewan

@Wizzerinus This issue is occurring because our labels are case-sensitive. When you search using lowercase characters, it creates a new label instead of matching the existing one.

pushya22 avatar Jul 02 '25 09:07 pushya22

Personally I think it's a bit unintuitive when "enter" does an action that does not happen if you click the currently selected option in the dropdown

Wizzerinus avatar Jul 02 '25 10:07 Wizzerinus

Thanks @Wizzerinus. We will try the improve the UX here.

pushya22 avatar Jul 02 '25 12:07 pushya22

Agree with @Wizzerinus. If I hit enter here it should not create an new "ma" label (current behavior). It should select "mat" Image If what I've typed doesn't exist as a label there should be a 3rd option that I could click or arrow down to do so.

ip10x avatar Dec 06 '25 14:12 ip10x