Skip to content

Commit

Permalink
fixed #5394 | replace isIntegerOnly with integerOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetcetin01140 committed Mar 8, 2024
1 parent d7c25df commit f136b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/inputotp/InputOtp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export default {
if (paste.length) {
let pastedCode = paste.substring(0, this.length + 1);
if (!this.isIntegerOnly || !isNaN(pastedCode)) {
if (!this.integerOnly || !isNaN(pastedCode)) {
this.tokens = pastedCode.split('');
this.updateModel(event);
}
Expand Down

0 comments on commit f136b80

Please sign in to comment.