Skip to content

Commit 7dacfd4

Browse files
committed
minor fixes
1 parent de81cb4 commit 7dacfd4

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
@@ -167,7 +167,7 @@ Now arrows and deletion works well.
167167

168168
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.
169169

170-
The alternative approach would be to track the `oninput` event -- it triggers *after* any modification. There we can check the new `input.value` and highlight/modify the `<input>` when it's invalid. Or we can use both event handlers together.
170+
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

172172
## Legacy
173173

0 commit comments

Comments
 (0)