Skip to content

Commit

Permalink
Merge pull request #5395 from primefaces/issue-5394
Browse files Browse the repository at this point in the history
fixed #5394 | replace isIntegerOnly with integerOnly
  • Loading branch information
tugcekucukoglu committed Mar 13, 2024
2 parents 8f0b32b + f136b80 commit 11620b6
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 11620b6

Please sign in to comment.