Merge branch 'master' of https://github.com/primefaces/primevue
commit
227b7c3eaa
|
@ -160,6 +160,10 @@ export default {
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'Enter':
|
||||||
|
case 'Tab':
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
if ((this.integerOnly && !(Number(event.key) >= 0 && Number(event.key) <= 9)) || (this.tokens.join('').length >= this.length && event.code !== 'Delete')) {
|
if ((this.integerOnly && !(Number(event.key) >= 0 && Number(event.key) <= 9)) || (this.tokens.join('').length >= this.length && event.code !== 'Delete')) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
Loading…
Reference in New Issue