fix:add conditions in textInputChecker. x#21124
Conversation
…om PASSWORD TYPE INPUTS will be prevented from DEFAULT ACTIONS(like deleting).
|
Dear all, |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #21124 +/- ##
==========================================
+ Coverage 64.06% 64.10% +0.03%
==========================================
Files 177 177
Lines 124953 124953
==========================================
+ Hits 80051 80095 +44
+ Misses 44902 44858 -44
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| if (el instanceof HTMLInputElement) { | ||
| const { type } = el; | ||
| return type !== "text" && type !== "number"; | ||
| return type !== "text" && type !== "number" && type !== "password"; |
There was a problem hiding this comment.
We should probably have a list of the non-textinput types (button, checkbox, ...).
I don't think we've an integration test for that. Can you write one ?
som PASSWORD TYPE INPUTS will be prevented from DEFAULT ACTIONS(like deleting).