Hello.
I am a beginner in ODC, I have followed he trainings, but don't find my answers ;o)
On a reactive app, I have implemented a DropDown Tag in order for user to list and select items from a table, to display filtered data in aggregate from this filter (OnChange action)
With a 'on Initialise action', I have initialized the default value with a variable assign, the filter on aggregate is working correctly, and is well updated when changing the values in the dropdown tags.
But when displaying the screen at first time, the default value in the DropDonw tags is not displayed, the tags appears as empty.
Perhaps I have not used the good method, but I don't find info on how to initialize a dropdonw tag with a default value and displaying the correct value un this tag...
Is there info womewhere on it or could you please help in inplementing this ^^ ?
Thanks a lot for you help,
Regards.
Hi Denis,
For adding default selected values in dropdown tags you can use "Starting selection" attribute of Dropdown tags.
You can start by adding the dropdown list in Options list attribute and add default selected list in Starting selection attribute. Please find below screenshot for reference.
Here are some useful links related to Dropdown tags:-
https://success.outsystems.com/documentation/11/building_apps/user_interface/patterns/using_mobile_and_reactive_patterns/interaction/dropdown_tags/
How to use dropdown tag
https://www.outsystems.com/forums/discussion/60746/how-to-show-a-preselect-tag-on-dropdown-tags/
Hello Anjali_Dange,
Thanks for your answer and links. The 1st one is the one I have used when creating my dropdown, I am going to check the others.
But as I see, I have not on my screen the 2 lines (Valiue and Label), under 'Starting selection'.
Does this element concerns O11 or ODC ?
Thanks a lot !!
The value and label only appears if the list we are providing is not of type DropdownOption List.
Value and label option allows user to map custom values for dropdown.
And No, this element does not concern O11 or ODC.
Regards,
Anjali