Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
HichamELBSI opened this issue Oct 29, 2024 · 0 comments
Assignees
Labels
issue: bug Issue reporting a bug status: pending reproduction Waiting for free time to reproduce the issue, or more information

Comments

@HichamELBSI
Copy link
Collaborator

HichamELBSI commented Oct 29, 2024

What version of design-system are you using?

  • Strapi Design System: 2.0.0-rc.11

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

  • Render a Combobox component
  • Set the "autocomplete" prop to "none"
  • The "No results found" will be rendered at the end of the option list

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

@HichamELBSI HichamELBSI added issue: bug Issue reporting a bug status: pending reproduction Waiting for free time to reproduce the issue, or more information labels Oct 29, 2024
@HichamELBSI HichamELBSI self-assigned this Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Issue reporting a bug status: pending reproduction Waiting for free time to reproduce the issue, or more information
Projects
None yet
Development

No branches or pull requests

1 participant