Switchv1
A switch in an Adaptive Form allows users to select one of two options. Each switch is represented by a Data Value (value to be sent to backend) and display value
Examples
Standard
A simple switch.
- Properties
- Markup
- JSON
- jcr:title: Switch
- description: <p>This is a long description.</p>
- tooltip: <p>This is a short description.</p>
- enum: 1,0
- enumNames: ON,OFF
- sling:resourceType: forms-components-examples/components/form/switch
- fieldType: checkbox
- tooltipVisible: true
ON
This is a short description.
This is a long description.