Merge pull request #5 from qburst/#5336-fix-inputotp-length-not-working
Fix #5336: InputOtp Length not working - Lint fixpull/5383/head
commit
47061f02ca
|
@ -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;
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue