NoHomey / material-ui-number-input

The <TextField type="number" /> that user really expects.
http://nohomey.github.io/material-ui-number-input
MIT License
29 stars 8 forks source link

Hint text not behaving correctly #8

Open drew-wallace opened 7 years ago

drew-wallace commented 7 years ago

If you have a completely blank field with strategy set to ignore, the hint text is shown. Then, type a letter. The hint text is gone, yet there is still nothing in the box.

NoHomey commented 7 years ago

Yes because strategy ignore means it will ignore all incorrect values. The hint text is controlled by material-ui itself, if you unfocus the input it should appear since the input is empty.