fixed #5394 | replace isIntegerOnly with integerOnly

pull/5395/head
Mehmet Çetin 2024-03-08 13:19:36 +03:00
parent d7c25df7b0
commit f136b80b8a
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);
}