-
- Notifications
You must be signed in to change notification settings - Fork 32.8k
Open
Labels
design: materialThis is about Material Design, please involve a visual or UX designer in the processThis is about Material Design, please involve a visual or UX designer in the processscope: autocompleteChanges related to the autocomplete. This includes ComboBox.Changes related to the autocomplete. This includes ComboBox.scope: selectChanges related to the select.Changes related to the select.
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Summary 💡
Equivalent to react-select's isSearchable={false}.
Disables the search functionality, but is still consistently styled.
Examples 🌈
Motivation 🔦
Having consistent styling of searchable and non-searchable selects is a requirement we're currently facing.
This workaround works: https://codesandbox.io/s/material-demo-ok1kg, but it's not exactly pretty.
EDIT:
Updated workaround with readOnly prop on input suggested by @cooperjones: https://codesandbox.io/s/material-demo-vh5lx
mahesha-perpetualny, oliviertassinari, massivespace and danielpza
Metadata
Metadata
Assignees
Labels
design: materialThis is about Material Design, please involve a visual or UX designer in the processThis is about Material Design, please involve a visual or UX designer in the processscope: autocompleteChanges related to the autocomplete. This includes ComboBox.Changes related to the autocomplete. This includes ComboBox.scope: selectChanges related to the select.Changes related to the select.