Skip to content

Fails to update multi-select fields. #73

Open
@mbreen

Description

@mbreen

I have a multi-select field that has options: Yes, No, Confirmed.

The field is set to ["Yes"], and I want to be set to ["Yes", "Confirmed"]

I found that I can't just add one - I have to clear it first. So instead of:

contact["Next delivery"].push("Confirmed")
contact.save

I have to do:

result = contact["Next delivery"].push("Confirmed")
contact["Next delivery"] = []
contact["Next delivery"] = result
contact.save

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions