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
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
readOnlyprop on input suggested by @cooperjones: https://codesandbox.io/s/material-demo-vh5lx