You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After some time working on this, I decided to omit allowEmpty and emptyText support as a whole.
I came up with the idea, that autocomplete should always allowEmpty (delete text and press reset icon button). Its more user centric and more like other AC inputs out there.
I think the user should always be able to clear and restart to search for matches.
We have form validation to force the user to finally fill out the AutocompleteInput component if necessary.
Unfortunately its a BC break, so no pull request into the official next branch in sight.
For now, i will add the components as custom components to my project.
What you were expecting:
SelectInput and AutocompleteInput should both render empty item at top of list.
What happened instead:
SelectInput renders empty item at top, AutocompleteInput renders empty item an end of list of suggestions (needs us to scroll).
Other information:
From a UI/UX perspective it should be consistent.
Environment
The text was updated successfully, but these errors were encountered: