Getting error : A dropdown component [label="Is Under Header"] has an invalid value for "value". All selected values must be present in the choiceValues array, but value was

Certified Senior Developer

Hi Everyone,

I 'm getting above error for the below code.

a!dropdownField(
label: "Is Under Header",
placeholder: "Select",
/*required: ri!questions[ri!index].questionType<>cons!RIDCO_QUESTION_TYPES[11],*/
disabled: index(
ri!questions[ri!index],
"questionType",
{}
) = cons!RIDCO_QUESTION_TYPES[11],
choiceLabels: touniformstring(local!headerQuestions),
choiceValues: touniformstring(local!headerQuestions),
value : touniformstring(index(index(ri!tempQuestions,ri!index,""),"parentQuestionText",{})),

local!headerQuestions : returns list of text string

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data