Skip to content

Form Field: Checkbox

Type: checkbox

Boolean selection component.

javascript
{
  id: 'accept_terms',
  type: 'checkbox',
  label: 'I accept the terms of use',
  defaultValue: false,
  disabled: false,
  required: true
}

💡 Tip: if required: true The checkbox needs to be checked for the form to be valid.