mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-11 01:42:34 +00:00
Fixed #5097 - nob: Problem with the step property when using the keyboard arrows
This commit is contained in:
parent
87c94406a7
commit
7560353472
1 changed files with 2 additions and 2 deletions
|
@ -127,7 +127,7 @@ export default {
|
|||
|
||||
case 'ArrowUp': {
|
||||
event.preventDefault();
|
||||
this.updateModelValue(this.modelValue + 1);
|
||||
this.updateModelValue(this.modelValue + this.step);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -135,7 +135,7 @@ export default {
|
|||
|
||||
case 'ArrowDown': {
|
||||
event.preventDefault();
|
||||
this.updateModelValue(this.modelValue - 1);
|
||||
this.updateModelValue(this.modelValue - this.step);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue