mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
This commit is contained in:
@@ -29,6 +29,8 @@
|
|||||||
:serializer="item => item.description"
|
:serializer="item => item.description"
|
||||||
:showOnFocus=true
|
:showOnFocus=true
|
||||||
autofocus
|
autofocus
|
||||||
|
tabindex="1"
|
||||||
|
ref="autoComplete"
|
||||||
inputName="description[]"
|
inputName="description[]"
|
||||||
@input="lookupDescription"
|
@input="lookupDescription"
|
||||||
>
|
>
|
||||||
@@ -65,6 +67,11 @@ export default {
|
|||||||
.then(response => {
|
.then(response => {
|
||||||
this.descriptions = response.data;
|
this.descriptions = response.data;
|
||||||
this.initialSet = response.data;
|
this.initialSet = response.data;
|
||||||
|
|
||||||
|
if(0===this.index) {
|
||||||
|
this.$refs.autoComplete.$refs.input.tabIndex = 1;
|
||||||
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user