Skip to content

How to keep popup of Quasar Select component open? #12628

Discussion options

You must be logged in to vote

@jimmiejackson414 convert your QSelect template ref into a ref either using toRefs or just take it out of your state object and declare it as a ref, you also need to call QSelect's refresh method after you populated your options array.

https://codesandbox.io/s/relaxed-wilson-zdhpqn?file=/src/pages/Index.vue

IMO, using @filter event could be more appropriate here, and the things you are doing with handling loading states, refreshing, debouncing input etc... are mostly done ootb already. see https://codepen.io/metalsadman/pen/wvPQZZV.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@jimmiejackson414
Comment options

Comment options

You must be logged in to vote
2 replies
@jimmiejackson414
Comment options

@MrugankDeshingkar
Comment options

Answer selected by jimmiejackson414
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants