Material-ui: Select disableUnderline

Created on 13 Feb 2018  路  4Comments  路  Source: mui-org/material-ui

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?

Select question

Most helpful comment

@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 />

https://codesandbox.io/s/84jkyqpvp0

All 4 comments

@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 />

https://codesandbox.io/s/84jkyqpvp0

@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 />

https://codesandbox.io/s/84jkyqpvp0

@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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

activatedgeek picture activatedgeek  路  3Comments

finaiized picture finaiized  路  3Comments

TimoRuetten picture TimoRuetten  路  3Comments

rbozan picture rbozan  路  3Comments

FranBran picture FranBran  路  3Comments