Repository navigation
[docs][checkbox group] Mention indeterminate state - #4345
Conversation
180c5aa to
996b8af
Compare
commit: |
✅ Deploy Preview for base-ui ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Bundle size report
Check out the code infra dashboard for more information about this PR. |
✅ Deploy Preview for base-ui ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
@aarongarciah Is this useful on Checkbox, outside of Checkbox Group? |
|
@colmtuite it's a bit tricky. It's true that the (only?) use case I can think of for indeterminate state is a parent checkbox, but it's probably good to also make the indeterminate state more discoverable on individual checkboxes. The parent checkbox example on the Checkbox Group page requires users to pass the cc @atomiks in case you have some thoughts on wether it'd be a valid use case for users to obviate |
|
Possibly. If there is any valid use case, it's probably helpful. If there isn't (which I suspect is accurate), then it feels like promoting it to an example is confusing, and just the API reference should be enough. |
|
Yeah I think the state only needs to be shown in the Checkbox Group parent demo, which is already the case |
|
Fair enough. I removed the example from the Checkbox page. I think it'd be valuable to mention the indeterminate state in the CheckboxGroup page somehow. It helps with discoverability and search. wdyt? See https://github.com/mui/base-ui/pull/4345/changes#diff-df295b9a914c9c7404236127059dfbbebf9e3ae4800ca4530c8dd0c58a254992 edit: with the addition the heading is a bit of a mouthful
|
ebde0f4 to
87609dc
Compare
|
Can just keep the note and remove it from the heading |
This reverts commit 87609dc.
Updated |

https://deploy-preview-4345--base-ui.netlify.app/react/components/checkbox-group#parent-checkbox