enigma-io / react-input-placeholder

Input is a small wrapper around React's <input> that shims in placeholder functionality for browsers that don't natively support it.
MIT License
34 stars 28 forks source link

`[type="password"]` fallback #15

Closed craigdallimore closed 8 years ago

craigdallimore commented 8 years ago

Discussion

This will temporarily change a [type="password"] input to a [type="text"] in the conditions that

This is to work around the "dots" that a [type="password"] field will show instead of characters by falling back to an input type that can present clear text.

Before (IE9)

After (IE9)

craigdallimore commented 8 years ago

I'll close this if there is no interest :)