Multiple dropdown - All selected values must be present in the choiceValues array, but value was 1 and choiceValues was 1; 2.
Hi,
I am getting the error --> A multiple dropdown component [label="Multiple Dropdown"] has an invalid value for "value". All selected values must be present in the choiceValues array, but value was 1; 2 and choiceValues was 1; 2.
a!multipleDropdownField(
label: "Multiple Dropdown",
labelPosition: "ABOVE",
choiceLabels: {1,2},
choiceValues: touniformstring(1,2),
value: tostring(ri!nocareas),
saveInto: ri!nocareas,
searchDisplay: "AUTO",
validations: {}
)
Applied the suggestion as given here (by Stefan) - https://community.appian.com/discussions/f/user-interface/25021/all-selected-values-must-be-present-in-the-choicevalues-array/96892#96892 but not working..
When I do the same with simple dropdown (of course - single selection) - I do not get any error.
ri!nocareas is of type: text
what am I doing wrong ?
your help will be appreciated..
thanks
jaideep
