For the complete documentation index, see llms.txt. This page is also available as Markdown.

Radio Button

{
    "type": "Radio",
    "properties": {
        "labelName": "Exported file format:",
        "options": [
            {
                "option": "pptx",
                "text": "PowerPoint"
            },
            {
                "option": "pdf",
                "text": "PDF"
            },
            .......
        ],
        "bindingPropertyName": "fileType"
    }
}

The property name needs to match the string specified in bindingPropertyName property. The dropdown matches against default state using the "option" property

{
    "fileType": "pptx"
}

Configurable properties

bindingPropertyName

string - the property name from defaultState with which to connect to.

mandatory

labelName

string - the text to display above the dropdown as a title

options

array - An array of objects containing an option and text property

{
    "option": "pptx",
    "text": "PowerPoint"
}

option - is the value which will be put in state when the radio button is selected

text - is the text to display on the radio buttons

Last updated

Was this helpful?