789
Views
8
Comments
Solved
Dropdown Search Widget re-ordering list automatically
Question

Hi all

I am having an issue with the Reactive Dropdown Search widget in that it is re-ordering/sorting the list I give it according to the Value I assign to the list items rather than keeping the order according to the list's order that I am assigning as the source. I don't see any available options to change this - is there a way to override this?

Thanks in advance!

Nic Campbell

2021-01-06 14-10-16
Camila Teixeira Carneiro
Solution

Hello Nicholas, 

if you want to use the default order from the aggregate you can disable it in the Advanced format, like this:

Hope that helps!

Camila Teixeira

2022-11-02 07-18-33
Nicholas Campbell

Thanks so much Camila! Worked great.

2021-09-27 07-52-21
Oussema Baccara

I have the same problem as Nicholas and I tried the solution of Camila but it didn't work, is there any other solution to disable automatic sorting for dropdown lists. 

2022-11-02 07-18-33
Nicholas Campbell

Hi Oussema

Strange that that didn't work for you. And you are using the Search Dropdown widget like image Camila sent? And are you sure it is the dropdown re-ordering the data and not the aggregate with an unexpected sort - that sometimes happens .

Hope this helps.

2021-09-27 07-52-21
Oussema Baccara

Yes I m using search dropdown Widget aswell. 



2022-11-02 07-18-33
Nicholas Campbell

That is very strange Oussema, the only difference I can see between the 2 is that yours has spaces on either side of the {} - maybe try and delete those spaces and see if it makes any difference?

UserImage.jpg
Suresh kumar

hi i am also facing same issue,Reactive Dropdown Search widget in that it is re-ordering/sorting the list I give it according to the Value I assign to the list items rather than keeping the order according to the list's order that I am assigning as the source. 


in my case i cant able to find advanced format option   properties

refer below image ;-

2022-11-02 07-18-33
Nicholas Campbell

Hi Naveen,

I believe the latest version of the DropdownSearch does not have the 'AdvancedFormat' as the old one has. However, I don't believe it does an automatic sort like the old one did either; so I am surprised you are having this issue.

Have you debugged and made sure that the data is in fact in the correct order when it is sent into the widget and then changed to a different order?

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