-
Notifications
You must be signed in to change notification settings - Fork 155
fix: check for value at start and watch for external changes #21
base: master
Are you sure you want to change the base?
Conversation
|
Please implement ASAP, much needed! |
|
Please accept and release new minor version. Thanks! |
|
Please accept this PR! |
|
Can this get merged? |
|
ran into issue when binding the autocomplete in a vue for loop and dynamically adding a new record to my array on button click. Changing the below corrected. |
|
@alexurquhart Do you have time to review this PR? |
For reference, other PR's merged previously: alexurquhart#47, alexurquhart#32, alexurquhart#29, alexurquhart#21
|
Thanks for looking into this and submitting! I merged in functionality that I think meets this need here: mattzollinhofer@e26ad49. 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! Let me know if that fix doesn't fix this issue. |
Got this issue that you can't preset the value. This fixes it.
Demonstrated in this pen: https://codepen.io/raymondmuller/pen/pxgXzd
the value of 'query' is 'test', however the input does not reflect it.
also watching the value afterwards to make it respond to external changes