Skip to content

Commit

Permalink
Merge pull request #5 from qburst/#5336-fix-inputotp-length-not-working
Browse files Browse the repository at this point in the history
Fix #5336: InputOtp Length not working - Lint fix
  • Loading branch information
amal-qb committed Mar 7, 2024
2 parents 6cbf782 + 211b252 commit 47061f0
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 47061f0

Please sign in to comment.