Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkbox doesn't support defaultChecked #1024

Open
chanceaclark opened this issue Oct 24, 2022 · 0 comments
Open

Checkbox doesn't support defaultChecked #1024

chanceaclark opened this issue Oct 24, 2022 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@chanceaclark
Copy link
Contributor

Describe the bug
Checkbox doesn't support the defaultChecked HTML attribute.

To Reproduce
Pass defaultChecked into Checkbox:
https://codesandbox.io/s/suspicious-platform-jwdmbe?file=/src/index.tsx

Expected behavior
The uncontrolled behavior should allow the checkbox component to pass in the defaultChecked prop.

Screenshots
Screen Shot 2022-10-24 at 18 30 16

Additional context
N/A

@chanceaclark chanceaclark added bug Something isn't working good first issue Good for newcomers labels Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Development

No branches or pull requests

1 participant