65
Views
2
Comments
[Multiple Selection Dropdown (ReactAndMob)] how to set default value to multiselect dropdown in mobile
Question

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.

2021-03-18 21-03-15
Benjith Sam
 
MVP

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

RWA_Lab_MultiSelect_DD.oml
UserImage.jpg
Chris Stacey

Thanks @Benjith Sam, good answer!

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