Skip to content

Conversation

kripod
Copy link
Contributor

@kripod kripod commented Oct 11, 2022

While trying to create a custom RadioChipGroup component based upon Headless UI’s RadioGroup, I’ve noticed that defaultValue can’t be set to T as it clashes with defaultValue as defined by React.

image

This PR aims to resolve that problem by explicitly omitting defaultValue from the inherited props.

@vercel
Copy link

vercel bot commented Oct 11, 2022

@kripod is attempting to deploy a commit to the Tailwind Labs Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Oct 11, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
headlessui-react ✅ Ready (Inspect) Visit Preview Oct 12, 2022 at 0:57AM (UTC)
headlessui-vue ✅ Ready (Inspect) Visit Preview Oct 12, 2022 at 0:57AM (UTC)

@RobinMalfait
Copy link
Member

Hey! Thank you for your PR!
Much appreciated! 🙏

@RobinMalfait RobinMalfait merged commit f66f492 into tailwindlabs:main Oct 14, 2022
@kripod kripod deleted the patch-1 branch October 14, 2022 22:08
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.

2 participants