Hi everyone,
I am facing an issue with the multiple selection dropdown (MSD) forge component. The functionality is working almost fine but I've noticed two issues. They are :
1. when I click anywhere inside the screen, the dropdown should get collapsed. And it is working fine in general. But, when I click on any link in that screen, the dropdown is not getting collapsed. And it is raising JavaScript errors as well.
2. When the dropdown is placed inside a popup, when I click anywhere outside the dropdown in the popup, the dropdown menu are still in expanded state only
I have attached the corresponding OML and screenshots below. Please let me know if there is any way to fix it. I appreciate your support. Thank you
Hi Dinesh
You can find a new version of the MSD component ready to install from the Forge.
Thank you for your feedback and let me know if it solved your case.
Hi Leopoldo Ismael
I'm glad to inform that the new version is working fine for me. Thank you for the update and your efforts in providing quick solutions.
I observed one more issue with the component. When I select few items and collapse the dropdown, the number of selected items displayed in the dropdown header is correct but when I expand the dropdown again, the items which were selected previously are not checked. I think it is happening because the dropdownonclick action is resetting the list every time. I disabled few components in the action and it is working fine. Pls have a look at the attached SS.
The way the component was designed it is intended that it works that way. I've attached an oml with a working example on how you can handle the selected items.
I will review this behaviour in the future.
Thank you for the feedback
Hello Dinesh,
You can check this discussion i think that can help you, at the time help me with this problem: https://www.outsystems.com/forums/discussion/68640/reactive-remove-js-event-listener-with-anonymous-function/
Best Regards
Thank you for your feedback. Problem 1 I've managed to fix, looking now at solving the other one. Expect a new version of the component by the end of the week with both problems solved.
Thanks
Thank you for the update! I'm glad to hear that a new version is on the way