Skip to content

Conversation

@S-Axhwin
Copy link

Fixes

Fixes #883

Description

The CheckboxGroup.Root examples in /data/themes/docs/components/checkbox-group.mdx incorrectly passed defaultValue as a string.
The component API requires an array of strings.

This caused the live examples to render uncontrolled/incorrect states.

This PR updates all occurrences of:

defaultValue="1"

to:

defaultValue={["1"]}

and fixes inconsistent value props in the size examples.


Checklist

  • Fixes a documentation bug
  • Tested locally using the docs live preview
  • All examples now work as expected
  • No breaking changes

Preview URL

https://website-git-checkbox-group-fix-s-axhwins-projects.vercel.app/themes/docs/components/checkbox-group

@S-Axhwin S-Axhwin requested a review from chaance as a code owner December 11, 2025 12:53
@vercel
Copy link

vercel bot commented Dec 11, 2025

@S-Axhwin is attempting to deploy a commit to the WorkOS Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug while clicking on Checkbox group

1 participant