Skip to content

Commit 3661393

Browse files
committed
minor fixes
1 parent 7dacfd4 commit 3661393

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2-ui/3-event-details/7-keyboard-events/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ function checkPhoneKey(key) {
165165

166166
Now arrows and deletion works well.
167167

168-
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.
168+
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.
169169

170170
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.
171171

0 commit comments

Comments
 (0)