35
Views
12
Comments
empty dropdown bug

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!

2025-10-18 11-13-53
Ramesh subramanian

Hi,

please check Fetch and this option.




Thanks,

Ramesh

UserImage.jpg
Low Nico

Hello,

Thank you for the reply. My aggregates are all fetch at start like yours.

2025-10-18 11-13-53
Ramesh subramanian
2025-10-18 11-13-53
Ramesh subramanian

Hi,

I done sample. please check OML File.


or Database table using Multi-tenant (Yes) ?


Thanks,

Ramesh


dropdownsearch.oml
2021-11-14 02-45-20
Shashi Mishra

Hello Nico,

Can you share OML or screenshot of hander you used in search dropdown?

Thanks

UserImage.jpg
Low Nico

Hello,

Unfortunately i cant share the oml, but i have exactly the same configurations as the screenshots shared by Ramesha above

2024-04-26 12-21-07
Anjali_Dange

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?


Thanks,

Anjali D.




UserImage.jpg
Low Nico

Hello Anjali D.,

Thank you for your help. As i mentioned above, the aggregate im using to populate the dropdown search has no filters. 

2024-05-14 06-49-08
Karnika-EONE

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

Thanks,

Karnika.k

UserImage.jpg
Low Nico

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

2024-05-14 06-49-08
Karnika-EONE

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?

2024-05-30 10-12-48
Anushka singh

hello

i hope it's help

dropdownsearch (1).oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.