Skip to content

MultiSelect

spAnser edited this page Apr 14, 2016 · 2 revisions
{
    "fields": [{
        "group": "Default",
        "name": "MultiSelect",
        "handle": "multiselect", // This line is optional
        "instructions": "This is not a required field.",
        "type": "MultiSelect",
        // typesettings & everything inside is optional
        "typesettings": {
            "options": [
                {
                    "label": "Red",
                    "value": "red",
                    "default": false
                },
                {
                    "label": "Green",
                    "value": "green",
                    "default": true
                },
                {
                    "label": "Blue",
                    "value": "blue",
                    "default": false
                }
            ]
        }
    }]
}
Clone this wiki locally