Form Field Checkbox Group

A pre-composed form field that wraps a CheckboxGroup control with automatic label, helper text, and error message display. Inherits from FormFieldBase, which provides EditContext integration, auto-generated control IDs, ARIA attribute wiring, and validation error state management.

Default

A basic FormFieldCheckboxGroup with a label, helper text, and two-way binding via @bind-Values. The component automatically generates a unique ID to associate the label with the group for accessibility.
Loading example…

With Select All

Set ShowSelectAll to true to display a "Select All" checkbox above the group items. Use SelectAllLabel to customize its label text.
Loading example…

With Error

Use ErrorText to manually set a validation error. Click Validate to trigger the error when no topics are selected.
Loading example…

Disabled

Set Disabled to true to prevent user interaction. All checkboxes in the group display with reduced opacity.
Loading example…

EditForm Validation

Inside an EditForm, validation errors from DataAnnotationsValidator display automatically. Try submitting without selecting any topics.
Loading example…