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

iamzhouyi picture iamzhouyi  ·  3Comments

activatedgeek picture activatedgeek  ·  3Comments

reflog picture reflog  ·  3Comments

sys13 picture sys13  ·  3Comments

FranBran picture FranBran  ·  3Comments