Multiple dropdown values issue

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

Parents Reply
  • 0
    Certified Lead Developer
    in reply to vyshnavig0001

    if you're hoping to receive help on figuring out the issue, you will need to include much more detail here than 'not working'.  That would include, 1) what you were expecting, 2) details about what it is doing instead, and 3) surrounding context like whether it's happening in the interface editor, in a running process or in a live site page, or both - and any other pertinent details that might assist in troubleshooting.

Children