a!localVariables( local!choiceValues: cons!VS_VALUES(list of array : "AB","BC","CD",) local!dropDownValue, local!value, a!multipleDropdownField( choiceLabels: local!choiceValues, choiceValues: local!choiceValues, value: local!value, saveInto: { a!save( local!value, if( contains( save!value, index(local!choiceValues, 1, {}) ), 0, save!value ) ), a!save( local!dropDownValue, if( contains( save!value, index(local!choiceValues, 1, {}) ), remove(local!choiceValues, 1), save!value ) ) } ) )
Hi All. Hope you all are doing well.
I am using multiple dropdown and working with records. The above code i am trying to edit already present value in the multiple dropdown. Above is the code .
If i try displaying the selected value i am unable to deselect it and select new values and if i am able to do it i am unable to display already present value .
Can anyone please help me with the point i am missing ?
Thank you very much in advance.
Discussion posts and replies are publicly visible
a!localVariables( local!choiceValues: {"AB", "BC", "CD"}, local!dropDownValue: {}, local!value: {}, a!multipleDropdownField( choiceLabels: local!choiceValues, choiceValues: local!choiceValues, value: local!dropDownValue, saveInto: { a!save(local!value, save!value), a!save(local!dropDownValue, save!value) } ) )
Hope this works for you!
Thank you for your response, but its not working as expected.
For example:
...
I have the summary page , and i want to edit a field which already has a value( Condition - "Like New") . So i go and click on update and try to change the value to "Minor Use" , "Retired".
So , this is what i am trying to achieve it.