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