Fix #5336: InputOtp Length not working - lint fix
parent
33b9a1ba1f
commit
211b252025
|
@ -174,9 +174,11 @@ export default {
|
||||||
if (this.integerOnly && !(event.keyCode >= 48 && event.keyCode <= 57)) {
|
if (this.integerOnly && !(event.keyCode >= 48 && event.keyCode <= 57)) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (limitReached && event.keyCode != 46) {
|
if (limitReached && event.keyCode != 46) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue