Dropdown

Dropdowns are used for data lists.

You can make selections from predefined list items using the option field, or use the dataset field to make selections among specific array properties of catalog entities. For more detailed information about the dataset field, you can visit the catalog dynamic fields page.

For multi-selection support, you can use the multiple-dropdown input type instead of a regular dropdown.

[
    {
        "type": "dropdown",
        "title": "Dropdown input title",
        "payloadName": "dropdown_input",
        "defaultValue": "option_1",
        "helpText": "Dropdown input help text",
        "options": [
            {
                "label": "Dropdown option label 1",
                "value": "option_1"
            },
            {
                "label": "Dropdown option label 2",
                "value": "option_2"
            }
        ]       
    },
    {
        "type": "multiple-dropdown",
        "title": "Multiple dropdown input title",
        "payloadName": "multiple_dropdown_input",
        "defaultValue": ["option_1"],
        "helpText": "Multiple dropdown input help text",
        "options": [
            {
                "label": "Multiple dropdown option label 1",
                "value": "option_1"
            },
            {
                "label": "Multiple dropdown option label 2",
                "value": "option_2"
            }
        ]        
    }
]

Last updated

Copyright © 2023 configure8, Inc. All rights reserved.