Fixed #5097 - nob: Problem with the step property when using the keyboard arrows
parent
87c94406a7
commit
7560353472
|
@ -127,7 +127,7 @@ export default {
|
||||||
|
|
||||||
case 'ArrowUp': {
|
case 'ArrowUp': {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
this.updateModelValue(this.modelValue + 1);
|
this.updateModelValue(this.modelValue + this.step);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -135,7 +135,7 @@ export default {
|
||||||
|
|
||||||
case 'ArrowDown': {
|
case 'ArrowDown': {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
this.updateModelValue(this.modelValue - 1);
|
this.updateModelValue(this.modelValue - this.step);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue