• Plugin Author larssg

    (@larssg)


    The API call includes a list for multi-select or multi-check boxes like “A, B, C” but the API expects an array like [“A”,”B”,”C”].
    The result is that form submissions with multiple selections fail.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author larssg

    (@larssg)

    Looks like the array is being converted to a list here. Removing lines 52-54 fixes the issue, but I’m not sure if it might break something else. Not sure why this was there in the first place.

    Plugin Author larssg

    (@larssg)

    Seems this definitely breaks other things. Looks like removing those lines causes the form submission to fail if no option is selected, i.e. if [“”] is sent. And with an array, you can’t compare to parameter values.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘API call includes list for multi-select or checkboxes, API expects array’ is closed to new replies.