Hi, I’m using some data from DB as a source for my dropdown options, however when the user clicks on the dropdown right after the page is loaded, it shows no options. After a few seconds, it shows all the options. So it seems it’s not loading fast enough. I tried to set a custom state with the list of options for this dropdown and use it as the data source, but it didn’t help… Any ideas on how to solve this?
Perhaps the object is heavy? … Has too many fields with long lists?
That’s not the case. The object is extremely simple, and the table has so far about 30 rows. What really concerns me is that I cannot even control the user seeing a loader until these values are loaded. I tried to set up a workflow on the page load, which includes setting the custom states for the dropdowns, and the workflow ends with covering the loader element, but even that didn’t help. 
you can put the dropdown in a group and have the group preload the list you want to show in the dropdown using a state on a list of things. then in the dropdown insert dynamic data: that state
I’m not sure I understand. Currently, the state is on the page level and then on “page is loaded” event I insert the list into this page-level state. I use this state as a data source for the dropdown.
However, I found out my loader had badly set when it should hide. So I managed to change that and now it’s hiding after the data are loaded to the states. The only problem is it’s really really slow. It takes several secs to load the page even though the table is extremely simple…