Add 'tab' key support on Input Number
See related issue : https://github.com/primefaces/primevue/issues/1518pull/1954/head
parent
400f6fd196
commit
4d353eadfd
|
@ -421,7 +421,8 @@ export default {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
//enter
|
//tab and enter
|
||||||
|
case 9:
|
||||||
case 13:
|
case 13:
|
||||||
newValueStr = this.validateValue(this.parseValue(inputValue));
|
newValueStr = this.validateValue(this.parseValue(inputValue));
|
||||||
this.$refs.input.$el.value = this.formatValue(newValueStr);
|
this.$refs.input.$el.value = this.formatValue(newValueStr);
|
||||||
|
|
Loading…
Reference in New Issue