Fix #5336: InputOtp Length not working - lint fix

pull/5383/head
Amal Mathew 2024-03-07 10:44:01 +05:30
parent 33b9a1ba1f
commit 211b252025
1 changed files with 2 additions and 0 deletions

View File

@ -174,9 +174,11 @@ export default {
if (this.integerOnly && !(event.keyCode >= 48 && event.keyCode <= 57)) {
event.preventDefault();
}
if (limitReached && event.keyCode != 46) {
event.preventDefault();
}
break;
}
},