mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-08 15:00:37 -04:00
[bug] fix timezone autocomplete
This commit is contained in:
parent
82d3ed822d
commit
16de1f6faf
@ -54,21 +54,26 @@ export default {
|
||||
switch (e.key) {
|
||||
case 'ArrowUp':
|
||||
this.highlighted--;
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
break;
|
||||
case 'ArrowDown':
|
||||
this.highlighted++;
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
break;
|
||||
case 'Enter':
|
||||
if (this.highlightedOption) {
|
||||
this.select(this.highlightedOption);
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
}
|
||||
break;
|
||||
default:
|
||||
return;
|
||||
break;
|
||||
}
|
||||
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
this.$forceUpdate();
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user