event.target.value for the native onChange event is always a stringoption element browser support &
React support for content other than text is currently limited
MDNThe first value is auto selected if there's no specified selected value on a native select.
To compensate for this the AdaptiveSelect adds a hidden option with a empty value, which can be removed
using the nativeEmptyValueOption prop if needed.
To disable the native select for all environments, native={false} can be added to the component or theme
MUI Select API with the following changes:
input defaults to AdaptiveInput, AdaptiveFilledInput, or AdaptiveOutlinedInputMenuProps.disableScrollLock defaults to trueMenuProps.slots.root defaults to ModalNonBlockingnative defaults to trueAdds a hidden empty value option element when native
booleantrueMUI MenuItem API with the following changes:
<option> element are ignored on native.
See the source
for the full list of ignored props.MUI ListSubheader API with the following changes:
<optgroup> element are ignored on native.
See the source
for the full list of ignored props.