ios - HTML text input only allow alpha, numeric, and special characters like the password input does? -
On password input, it does not allow emoji characters and on iOS you need to focus on the password input field Can not even use the keyboard I would like to do my normal text input.
I was thinking that you can specify 'accept-charset' on the input but you can not
To prevent this, users emoji characters input into a text field.
I know that there are JS solutions for this, but I was hoping that instead of an attribute or instead I can use it to control it.
In addition to this, I tried to set "UTF-8" and some others 'accept-charset' on the form tag, it did not make any difference. : /
I'm looking exactly for the same option, but the exact solution was not found.
The workaround is using type = number () I was just trying on iOS and it works, but "ABC" instead of "ABC" alphabet keyboard view "123" numeric - on special keyboard view The keyboard is missed.
But it actually removes the emoji keyboard!
Edit: So this will work: & lt; Input type = number>
.
Comments
Post a Comment