id
Description
sets an HTML id for a switch buttonType
string|number
Example
<Field label="Switch" position="left" type="switch" let:id>
<Switch {id} />
</Field>
Related article: Adding a label
Related sample: Switch Button
string|number
<Field label="Switch" position="left" type="switch" let:id>
<Switch {id} />
</Field>
Related article: Adding a label
Related sample: Switch Button