ui icon indicating copy to clipboard operation
ui copied to clipboard

Why doesn't Chadcn have a simple autocomplete?

Open MehdiRazaNaqvi opened this issue 1 year ago • 1 comments
trafficstars

I wonder why Chadcn doesnt just have a simple autocompleted like this below image

The Combobox works almost same but it has a feel of having two diff components for a simple task. Below image for ref

image

MehdiRazaNaqvi avatar Feb 01 '24 20:02 MehdiRazaNaqvi

Agreed. This would be a great component to have. I also don't like using the combobox for it as it only filters by the start of the word... an autocomplete would be great if the text would be able to search the start of any word in the text.

There is a potential solution here:

https://github.com/shadcn-ui/ui/issues/2577

JayBox325 avatar Feb 02 '24 13:02 JayBox325

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.

shadcn avatar Feb 24 '24 23:02 shadcn

I agree

samuelkarani avatar Apr 05 '24 16:04 samuelkarani

Please add the autocomplete to shadcn

romanticsoul avatar Apr 07 '24 15:04 romanticsoul

A combobox and autocomplete are 2 different types of components. Maybe @shadcn assumes they are the same thing, and thats why autocomplete does not exist in shadcn ui.

Using examples from mantine ui: https://mantine.dev/core/autocomplete https://mantine.dev/core/combobox

samuelkarani avatar Apr 08 '24 14:04 samuelkarani