Hi,
We have been using OS UI 2.14.0 and recently updated to 2.27.0. Apparently it broke the dropdown search where it closes now every time you choose an option.Reading around, it seems that we need to change our OnChanged, but the problem is that we have used this pattern in multiple places.I highlighted what I think was the issue but I wonder if I am on the right track?
Thanks for the responses.
I think that my issue lies in what I originally posted. I am using the same variable in the StartingSelection and doing an assign on the Dropdown Search using the same. This could be triggering the rendering of the control again and that it looks like every click on an option closes the Dropdown Search.
This was working out of the box in 2.14.0 and broke when we upgraded 2.27 or 2.28. It wasn't mentioned in the changelogs or I may have just missed it. I posted the same question in the Support Portal hoping to get more light on this one.
EDIT: The steps I had to do is to remove the value for the StartingSelection for those I don't need to have a default. For those I had one, I needed to work around it by adding another DropdownOption List variable that isn't in on my OnChanged.
Regards,
JC Elorde
Hi @Juan Carlos Elorde ,
Most likely cause is the Refresh GetCompany in your OnChanged, which triggers a rerender of the dropdown.
Are you able to replicate your use case in a sample app to share it? Also, OutSystems UI was updated to 2.28 and includes changes to this widget, so it might be worth trying the latest version:
ROU-12586 - Now, Dropdown Search and Dropdown Tags components will be using the latest version of their library provider, VirtualSelect v1.1.5
Hi @Juan Carlos Elorde
To help the community, helping you could you please share an oml with your use case being replicated (without any business information ofc) so we can try to look into the same use case? It would be super useful. Also, please share what you've already tried.
Cheers,GM