vue-select icon indicating copy to clipboard operation
vue-select copied to clipboard

Programmatic adjustment of search query

Open kmcluckie opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. I wish to programatically change the search value of the select component. Insead of having the user type a search query I want to assist by providing a list of words that the user can click on that is then entered as the search query. However, I am not able to access the search query of the component as it is in data.

Describe the solution you'd like I would like a solution to be able to specify a search string to the select and then open it.

Describe alternatives you've considered I have tried hacking around with locating the physical input and setting the value. I have also added a search slot and added a "value" prop to the input but that conflicts with the internal search value it seems. I am stuck!

Much thanks.

kmcluckie avatar Feb 25 '22 14:02 kmcluckie