minor fixes

This commit is contained in:
Ilya Kantor 2021-06-19 18:53:06 +03:00
parent 54347b7116
commit df6e5a4522

View file

@ -165,7 +165,7 @@ function checkPhoneKey(key) {
Now arrows and deletion works well.
...But we still can enter anything by using a mouse and right-click + Paste. So the filter is not 100% reliable. We can just let it be like that, because most of time it works. Or an alternative approach would be to track the `input` event -- it triggers after any modification. There we can check the new value and highlight/modify it when it's invalid.
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. We can just let it be like that, because most of time it works. Or an alternative approach would be to track the `input` event -- it triggers after any modification. There we can check the new value and highlight/modify it when it's invalid.
## Legacy