I am creating the password field, and I have to use Asterisk in place of password dots. currently, I am using this
<input type="text" style="-webkit-text-security: square;" />
but when I use Asterisk in place of the square then it's not working. Is there any solution for that.
You need to specify password
in your input's type field.
Like this:
<input type="password" style="-webkit-text-security: square;" />
See here for more information: https://www.w3schools.com/html/html_form_input_types.asp
You might also want to see:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With