alexurquhart / vue-bootstrap-typeahead

An autocomplete/typeahead component for Vue 2 and Bootstrap 4
https://alexurquhart.github.io/vue-bootstrap-typeahead/
MIT License
206 stars 157 forks source link

fixed issue with initial value not being preserved for v-model #59

Open perdiesman opened 5 years ago

perdiesman commented 5 years ago

moved inputValue to a calculated field

mattzollinhofer commented 4 years ago

Thanks for looking into this and submitting!

I merged in functionality that I think meets this need here: https://github.com/mattzollinhofer/vue-typeahead-bootstrap/commit/e26ad499211cf9ca00cb840ee7d34b3f2f3bd4ed.

You can use the functionality under the forked project: https://www.npmjs.com/package/vue-typeahead-bootstrap or https://github.com/mattzollinhofer/vue-typeahead-bootstrap.

Hope this helps anyone who needs this functionality going forward!