paliari / v-autocomplete

Autocomplete component for Vue.js
351 stars 124 forks source link

GetLabel function not called when items array has 1 element #79

Closed erinwilkins closed 6 years ago

erinwilkins commented 6 years ago

If you have an array of items with a length of 1 and the v-model is set to that item then the getLabel function isn't called and the input does not display the label.