I'm using a Dropdown Search widget in a web block. The control is used to display a list of countries and the user can select multiple. In the OnChange event, the selections are evaluated and used to display addtional information about the country elsewhere in the block. An event is raised to the parent page with the updated list of selected items. It appears to work as normal.
When providing a list of SelectedOptions to the control, unexpected behavior begins to occur. The selection dropdown closes after a single selection. On the first selection, the control frequently freezes.
Hi Aaron,
Can you please show some images or share the oml so that we can look into it.
Regards,
Aditya
Strange. I never had this problem. Maybe you can make a small video or GIF
Hi Aaron, please make sure that in the OnChange event, do not update the list of SelectedOptions, this list is for the firs time display only.
Hello Aaron, please make sure that you re not refreshing the list to display the Countries, on the change event update your list that saves the values selected.
Make sure that you are passing the list updated on the handler of the Web Block.
Best Regards
Both Nghia and Andre are right.
Also, I’m sharing this link in case anyone lands here, you can find a possible solution here.