This will temporarily change a [type="password"] input to a [type="text"] in the conditions that
the input needs a placeholder fallback
there is no value assigned to the input
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.
Discussion
This will temporarily change a
[type="password"]
input to a[type="text"]
in the conditions thatvalue
assigned to the inputThis 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)