in Select
component, property inputProps={{
disableUnderline: true
}}
doesn't do anything, it doesn't disable input's underline, but I can disable it somehow, indicating clearly
input={<Input disableUnderline />}
, I think its a bug, can you fix it?
@bife1 The Select
component inherited the properties of the Input
component. disabledUnderline
is implemented by the Input
component. So the answer to your problem is:
<Select disableUnderline />
@bife1 The
Select
component inherited the properties of theInput
component.disabledUnderline
is implemented by theInput
component. So the answer to your problem is:<Select disableUnderline />
@oliviertassinari Maybe you could add this to the doc, Select API page? I ran into the same issue, read the docs, tried inputProps
which didn't work, then googled this solution.
vote +1 to add this to doc
Was looking for this for a while!! Please add this to the docs!
Most helpful comment
@bife1 The
Select
component inherited the properties of theInput
component.disabledUnderline
is implemented by theInput
component. So the answer to your problem is:https://codesandbox.io/s/84jkyqpvp0