Merge pull request #5395 from primefaces/issue-5394

fixed #5394 | replace isIntegerOnly with integerOnly
pull/5383/head^2
Tuğçe Küçükoğlu 2024-03-13 12:30:29 +03:00 committed by GitHub
commit 11620b6655
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}