pull/6176/head
tugcekucukoglu 2024-08-02 11:05:14 +03:00
commit 227b7c3eaa
1 changed files with 4 additions and 0 deletions

View File

@ -160,6 +160,10 @@ export default {
break;
case 'Enter':
case 'Tab':
break;
default:
if ((this.integerOnly && !(Number(event.key) >= 0 && Number(event.key) <= 9)) || (this.tokens.join('').length >= this.length && event.code !== 'Delete')) {
event.preventDefault();