Merge pull request #6768 from sivareddyuppathi/master
fix: InputNumber does not work on Android devices fixpull/6775/head
commit
9e548f8a8c
|
@ -387,8 +387,9 @@ export default {
|
||||||
let selectionEnd = event.target.selectionEnd;
|
let selectionEnd = event.target.selectionEnd;
|
||||||
let inputValue = event.target.value;
|
let inputValue = event.target.value;
|
||||||
let newValueStr = null;
|
let newValueStr = null;
|
||||||
|
const code = event.code || event.key;
|
||||||
|
|
||||||
switch (event.code) {
|
switch (code) {
|
||||||
case 'ArrowUp':
|
case 'ArrowUp':
|
||||||
this.spin(event, 1);
|
this.spin(event, 1);
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
Loading…
Reference in New Issue