commit
1e70511ee0
|
@ -73,6 +73,10 @@ export default {
|
||||||
this.moveToPrev(event);
|
this.moveToPrev(event);
|
||||||
} else if (event.inputType === 'insertText' || event.inputType === 'deleteContentForward') {
|
} else if (event.inputType === 'insertText' || event.inputType === 'deleteContentForward') {
|
||||||
this.moveToNext(event);
|
this.moveToNext(event);
|
||||||
|
} else if (event instanceof CustomEvent) {
|
||||||
|
// iOS/macOS one-time-code autocomplete uses CustomEvent vs. InputEvent for each character in the code
|
||||||
|
// If moveToNext is not called, it will continue to append the next value after the first character
|
||||||
|
this.moveToNext(event);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
updateModel(event) {
|
updateModel(event) {
|
||||||
|
|
Loading…
Reference in New Issue