minor fixes
This commit is contained in:
parent
ff53f0638b
commit
cf82cc3bce
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ The `onkeydown` handler here uses `checkPhoneKey` to check for the key pressed.
|
|||
|
||||
As we know, the `false` value returned from the event handler, assigned using a DOM property or an attribute, such as above, prevents the default action, so nothing appears in the `<input>` for keys that don't pass the test. (The `true` value returned doesn't affect anything, only returning `false` matters)
|
||||
|
||||
Please note that special keys, such as `key:Backspace`, `key:Left`, `key:Right`, `key:Ctrl+V`, do not work in the input. That's a side-effect of the strict filter `checkPhoneKey`.
|
||||
Please note that special keys, such as `key:Backspace`, `key:Left`, `key:Right`, do not work in the input. That's a side-effect of the strict filter `checkPhoneKey`.
|
||||
|
||||
Let's relax it a little bit by allowing `key:Left`, `key:Right` arrows and `key:Delete`, `key:Backspace`:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue