Skip to content
Snippets Groups Projects
Commit d6c29432 authored by Timothee P's avatar Timothee P :sunflower:
Browse files

fix dropdown if no options

parent f4971f9c
No related branches found
No related tags found
No related merge requests found
...@@ -112,7 +112,7 @@ export default { ...@@ -112,7 +112,7 @@ export default {
setTimeout(() => { setTimeout(() => {
this.isOpen = false; this.isOpen = false;
}, 0); }, 0);
this.$emit("update:selection", this.filteredOptions[index]); if (index) this.$emit("update:selection", this.filteredOptions[index]);
this.input = ""; this.input = "";
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment