how to set default selected values to multi select dropdown in mobile application i have used https://www.outsystems.com/forge/component-overview/9239/multiple-selection-dropdown-widget-reactive-and-mobile this component but wanted to set default selected values so kindly help me in achieving this.
Hi Ayush,
To set the default selected values to the MultiSelect dropdown widget, you will have to explicitly set the IsSelected attribute of all the default records to a True value.
You can assign the IsSelected attribute with boolean value (conditionally, either True or False) in the DataSource action or in OnAfterFetch event handler action flow.
Demo Screen: MultiSelectTask
Refer to the attached oml.
I hope this helps you!
Kind regards,
Benjith Sam
Thanks @Benjith Sam, good answer!