# HG changeset patch # User Alexandre Segura # Date 1488215972 -3600 # Node ID b936a1aab4dc7807a9ec832004d5b98a46d66e05 # Parent 0a4743126d74d52bc241c35a224fa7aff1315bc2 Make sure an item is selected. diff -r 0a4743126d74 -r b936a1aab4dc src_js/iconolab-bundle/src/components/tagform/Typeahead.vue --- a/src_js/iconolab-bundle/src/components/tagform/Typeahead.vue Mon Feb 27 17:50:14 2017 +0100 +++ b/src_js/iconolab-bundle/src/components/tagform/Typeahead.vue Mon Feb 27 18:19:32 2017 +0100 @@ -160,6 +160,7 @@ }, onHit (selected) { + if (!selected) { return; } this.$emit('selected', selected); this.reset(); }