Closed marioene closed 1 year ago
Hi, here's example solves your problem https://jsfiddle.net/o3srp2cb/1/
Search input uses search
variable from component's data()
- see this and this, so you need to change value of this variable, in example above used $refs
to change search
(and also used activate()
/deactivate()
to toggle multiselect's state)
@marioene Let us know if you still have any query, Closing it for now.
First, it is a great package!
I have a little problem:
How can I change search text (also visual in my interface) from a virtual keyboard ? I am using https://virtual-keyboard.js.org/vuejs/
I couldn't find a reference in your docs for the search text to be manipulated from javascript or vue methods.
I succeeded to search in background (in Laravel 7.x) with array values returning for v-model attached to vue-multiselect, but I also want that the end user to view the text searched with virtual keyboard inside the vue-multiselect search area.
Any help would be very welcome!