vanillaSelectBox icon indicating copy to clipboard operation
vanillaSelectBox copied to clipboard

setValue('all') gives error when using with remote feature

Open fyoshino opened this issue 2 years ago • 0 comments

I am using remote feature to retrieve options contents from database and I would like to show the vanillaSelectBox with all items selected.

After creating the component, if I call setValue('all'), I receive the following error

Cannot read properties of undefined (reading 'querySelectorAll') at vanillaSelectBox.setValue (vanillaSelectBox.js:1203:34)

Could you post an example of using setValue('all') using remote feature ?

fyoshino avatar Nov 04 '22 15:11 fyoshino