Hello,
I am creating a reactive application. I am using a dropdown search that is populated using just a simple aggregate with no conditions. However, occasionally, there are times where the dropdown search will be empty. Only after refreshing will the dropdown search be populated. Any reason/idea why this happens? Thank you!
Hi,
please check Fetch and this option.
Thanks,
Ramesh
Thank you for the reply. My aggregates are all fetch at start like yours.
Please share OML File.
I done sample. please check OML File.
or Database table using Multi-tenant (Yes) ?
Hello Nico,
Can you share OML or screenshot of hander you used in search dropdown?
Thanks
Unfortunately i cant share the oml, but i have exactly the same configurations as the screenshots shared by Ramesha above
Hey Nico,
Aggregates & Dataaction are fetched concurrently after OnInitalize action. There could be any filters in aggregate which are causing this delay. If there is some filter which is dependent on other aggregate / data action , you can refresh dropdown aggregate on OnAfterFetch action of that aggregate / data action.
Could you please share if there are any filters on aggregate?
Anjali D.
Hello Anjali D.,
Thank you for your help. As i mentioned above, the aggregate im using to populate the dropdown search has no filters.
Hi @Low Nico ,I have faced this kind of issue in a search dropdown.The below changes will help you.
1.Enclose Your Dropdown in a container.
2.Set visible property of your container as "Your aggregate.IsDataFetched".
For Example
Hope it will be helpful
Karnika.k
Hello Karnika.k,
Thank you for your suggestion! Can you elaborate more on how this will solve the issue? Im not quite sure how setting the visibility property will ensure that the dropdown search is populated. Thank you
Hi @Low Nico
1.In my case ,the visible property will ensure that data is completely loaded before accessing the dropdown widget.
In which scenario you are getting this issue please elaborate?
hello
i hope it's help