From e769408d640e325233fe46c2d30b83edf9b3334d Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Sat, 19 Jun 2021 18:55:00 +0300 Subject: [PATCH] minor fixes --- 2-ui/3-event-details/7-keyboard-events/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-ui/3-event-details/7-keyboard-events/article.md b/2-ui/3-event-details/7-keyboard-events/article.md index cea96a10..0af3cee4 100644 --- a/2-ui/3-event-details/7-keyboard-events/article.md +++ b/2-ui/3-event-details/7-keyboard-events/article.md @@ -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. 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. The more reliable 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