cmdk icon indicating copy to clipboard operation
cmdk copied to clipboard

Command.Dialog search function does not work as expected

Open Beckem opened this issue 2 years ago • 5 comments

When type backspace filter results do not update. This issue also exists for example on https://cmdk.paco.me/

Beckem avatar Aug 18 '22 08:08 Beckem

Can you share a more specific example? Pressing [Backspace] completely works for me.

pacocoursey avatar Aug 18 '22 13:08 pacocoursey

Can you share a more specific example? Pressing [Backspace] completely works for me.

https://drive.google.com/file/d/10FZiUymNjKMUzKl8-zSZm-Sut0seKZSr/view?usp=sharing When press [Backspace] to "show" the filter result must appear like when you type show

Beckem avatar Aug 19 '22 01:08 Beckem

Hmm weird, will take a closer look.

pacocoursey avatar Aug 19 '22 13:08 pacocoursey

I also noticed this issue when trying to implement this in my web app

manuthecoder avatar Aug 22 '22 23:08 manuthecoder

Can you share a more specific example? Pressing [Backspace] completely works for me.

https://drive.google.com/file/d/10FZiUymNjKMUzKl8-zSZm-Sut0seKZSr/view?usp=sharing When press [Backspace] to "show" the filter result must appear like when you type show

I also noticed this issue when trying to implement this in my web app

Passing value prop to item fix the inssue for me: <Command.Item value="textValue">textValue</Command.Item>

caumeira avatar Aug 23 '22 01:08 caumeira