Toggle

Use toggle buttons in Custom UI widget

Input combo type toggle

Displays a toggleable button that can be set to either on or off states.

Usage example

<form>
    <inputcombo
        type="toggle"
        id="enable_device"
        label="Enable device"
        description="Set the state of the device"
    />
</form>

Properties

  • id: Unique identifier to access this field's data

  • label: Header text

  • description: Short descriptive text

  • shape: Used to align the label and the input field. Its allowed values are

    • compactVertical

    • wideVertical

    • wideHorizontal

Last updated