nulogy / design-system

Nulogy Design System
http://nulogy.design
MIT License
65 stars 13 forks source link

Remove the "No options" in the AsyncSelect when the user haven't typed yet #1307

Closed haideralsh closed 10 months ago

haideralsh commented 10 months ago

Is your feature request related to a problem? If so, please describe.

When the user clicks on the AsyncSelect component, they see the options menu containing "No options", when the user types a value only then does the menu options populate. The initial state of the component can cause confusion since the Select has options but they've not been fetched yet.

image image

Is your team blocked from moving forward by the lack of this functionality/behaviour?

We are not blocked

Do you have an alternative solution for the problem?

Remove the "No options" in the initial state of the component, and only show it when there are actually no results.

Have you consulted and have an alignment with the product designer?

Who would you like to execute this feature?

When do you need this by?

Anytime

Helpful resources

No response

Additional context

No response