minor fixes
This commit is contained in:
parent
7dacfd411b
commit
36613935fe
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ function checkPhoneKey(key) {
|
|||
|
||||
Now arrows and deletion works well.
|
||||
|
||||
Even though we have the key filter, one still can enter anything using a mouse and right-click + Paste. So the filter is not 100% reliable.
|
||||
Even though we have the key filter, one still can enter anything using a mouse and right-click + Paste. Mobile devices provide other means to enter values. So the filter is not 100% reliable.
|
||||
|
||||
The alternative approach would be to track the `oninput` event -- it triggers *after* any modification. There we can check the new `input.value` and modify it/highlight the `<input>` when it's invalid. Or we can use both event handlers together.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue