not sure if this is the right way to do this task. there is also a small bug. when i foucs on input filed i have to click two times.
6 Months Ago
Related Article:input type file set to null
If you do a search for "input password watermark", you'll find plenty of examples on this topic. The challange here is to have plain text in place, then when you focus in on the input element, switch over to having the input element with a type of "password" instead of type of "text".