mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Merge branch 'primefaces:master' into master
This commit is contained in:
commit
c78d2e2a4a
6 changed files with 10 additions and 10 deletions
|
@ -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';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue