Skip to content

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

Closed
@HichamELBSI

Description

@HichamELBSI

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

Metadata

Metadata

Assignees

Labels

issue: bugIssue reporting a bugstatus: pending reproductionWaiting for free time to reproduce the issue, or more information

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions