Merge branch 'primefaces:master' into master

This commit is contained in:
Amal Mathew 2024-03-13 17:14:14 +05:30 committed by GitHub
commit c78d2e2a4a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 10 additions and 10 deletions

View file

@ -188,7 +188,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);
}
@ -199,7 +199,7 @@ export default {
},
computed: {
inputMode() {
return this.integerOnly ? 'number' : 'text';
return this.integerOnly ? 'numeric' : 'text';
},
inputType() {
return this.mask ? 'password' : 'text';