Multiple Dropdown Duplicate Values

a!sideBySideItem(
item: a!multipleDropdownField(
label: "Status",
labelPosition: "ABOVE",
choiceLabels: {
"Active",
"Approved",
"Cancelled"
},
choiceValues: {
true,
true,
true
},
saveInto: {local!activeSOWs, local!approvedSOWs, local!cancelledSOWs},
validations: {}
)
)

All three of the variables I would like to saveInto are booleans but I am getting an error:

Interface Definition: Expression evaluation error at function a!multipleDropdownField [line 700]: A multiple dropdown component [label="Status"] has an invalid value for "choiceValues". Duplicate items are not allowed in the choiceValues array, but choiceValues was true; true; true.

How can I set the three variables to true when the labels are selected? Thanks!

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data