mui / mui/base-ui

[field][CheckboxGroup] Support required CheckboxGroups

Open
#1,426 2 comments 3 reactions 0 assignees View on GitHub
component: checkbox component: checkbox group component: field type: enhancement
Dominant language
TypeScript
Stars
10.9k
Forks
543
Avg merge
1d 20h
Merged PRs (30d)
101

Description

It's currently not possible to make a required CheckboxGroup for a form, e.g.
```jsx


{/* checkboxes */}

```

Though adding `required` to a checkbox group that is NOT in a `Field` shouldn't do anything by itself. Maybe we need to support ``?

---

React Aria example: https://react-spectrum.adobe.com/react-aria/CheckboxGroup.html#checkboxgroup-1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.