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"
value="true"
/>
</form>Properties
id: Unique identifier to access this field's datalabel: Header textdescription: Short descriptive textshape: Used to align the label and the input field. Its allowed values arecompactVerticalwideVerticalwideHorizontal
value: Sets eithertrueorfalseas default .
Last updated
Was this helpful?