strapi / design-system

Strapi.io's design system :rocket:
https://design-system.strapi.io
MIT License
473 stars 167 forks source link

[bug]: Combobox always renders the "No results found" at the end of the options when "autocomplete" is set to "none" #1803

Open HichamELBSI opened 4 weeks ago

HichamELBSI commented 4 weeks ago

What version of design-system are you using?

What's Wrong?

The Combobox is always rendering the "No results found" at the end of the options when "autocomplete" is set to "none" This can be seen in the storybook.

To Reproduce

Can be reproduced in the storybook Combobox component.

Expected Behaviour

Since there is no filter with the autocomplete: none, the No results found shouldn't be rendered.

Screenshot 2024-10-29 at 15 35 49