I have to initialize a dropdown inside a each / with block. The main problem is that it’s not rendered at all. I initialize the component with jQuery, $(’.dropdownClass’).dropdown() and it’s not working. I tried to put the initialization in onRendered, onCreated and forcing it into a HTML script tags.
Moreover, I need to give the dropdown default values from DB, so I need to get the data first from DB and then assign it to the values in the dropdown.