Docs > Forms > RruCheckboxInput
RruCheckboxInput
Example
Click “Open Sandbox” to see the example source code
Props
Name | Description | Required |
---|---|---|
name | Unique form element name | Yes |
label | The form element label | No |
requiredAsterisk | Display an asterisk to indicate the field is required | No |
disabled | Controls whether the input field is disabled or not | No |
isSwitch | Set true to render the checkbox as a switch | No |
onChange | A callback function. This is useful if you need to watch the field value | No |