Merge pull request #5395 from primefaces/issue-5394
fixed #5394 | replace isIntegerOnly with integerOnlypull/5383/head^2
commit
11620b6655
|
@ -177,7 +177,7 @@ export default {
|
||||||
if (paste.length) {
|
if (paste.length) {
|
||||||
let pastedCode = paste.substring(0, this.length + 1);
|
let pastedCode = paste.substring(0, this.length + 1);
|
||||||
|
|
||||||
if (!this.isIntegerOnly || !isNaN(pastedCode)) {
|
if (!this.integerOnly || !isNaN(pastedCode)) {
|
||||||
this.tokens = pastedCode.split('');
|
this.tokens = pastedCode.split('');
|
||||||
this.updateModel(event);
|
this.updateModel(event);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue