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"
|
||||
:showOnFocus=true
|
||||
autofocus
|
||||
tabindex="1"
|
||||
ref="autoComplete"
|
||||
inputName="description[]"
|
||||
@input="lookupDescription"
|
||||
>
|
||||
@@ -65,6 +67,11 @@ export default {
|
||||
.then(response => {
|
||||
this.descriptions = response.data;
|
||||
this.initialSet = response.data;
|
||||
|
||||
if(0===this.index) {
|
||||
this.$refs.autoComplete.$refs.input.tabIndex = 1;
|
||||
}
|
||||
|
||||
});
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user