Skip to content

Commit

Permalink
Fix #5336: InputOtp Length not working - lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Amal Mathew committed Mar 7, 2024
1 parent 33b9a1b commit 211b252
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/lib/inputotp/InputOtp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
},
Expand Down

0 comments on commit 211b252

Please sign in to comment.