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

fix(Checkbox): fix issue with controlled indeterminate state #13872

Merged

Conversation

tw15egan
Copy link
Collaborator

Closes #13516

Ensures indeterminate state updates when its value is explicitly set to false

Changelog

New

  • Test story based on CodeSandbox (will be removed before merging)

Changed

  • Changes logic to set indeterminate if it is set to false

Testing / Reviewing

Go to the test story in Checkbox and ensure the button can toggle both checkboxes correctly.

@netlify
Copy link

netlify bot commented May 24, 2023

Deploy Preview for carbon-components-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit f54d8c7
🔍 Latest deploy log https://app.netlify.com/sites/carbon-components-react/deploys/646fca208d42000008c31867
😎 Deploy Preview https://deploy-preview-13872--carbon-components-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@netlify
Copy link

netlify bot commented May 24, 2023

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit f54d8c7
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/646fca20892e240008b63cf7
😎 Deploy Preview https://deploy-preview-13872--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Collaborator

@francinelucca francinelucca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@kodiakhq kodiakhq bot merged commit 97b6ca3 into carbon-design-system:main May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Checkbox's indeterminate prop is not working for controlled false value.
3 participants