Add 'tab' key support on Input Number

See related issue : https://github.com/primefaces/primevue/issues/1518
pull/1954/head
BenjaminMINK 2022-01-07 12:37:58 +01:00 committed by GitHub
parent 400f6fd196
commit 4d353eadfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -421,7 +421,8 @@ export default {
}
break;
//enter
//tab and enter
case 9:
case 13:
newValueStr = this.validateValue(this.parseValue(inputValue));
this.$refs.input.$el.value = this.formatValue(newValueStr);