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

Allow checking the CCheckbox by default #29

Merged
merged 2 commits into from
Apr 30, 2023
Merged

Conversation

meretamal
Copy link
Owner

Description

This pull request aims to add a defaultChecked prop to the CCheckbox component, so that it renders checked by default.

Requirements

None.

Additional changes

I also added the change and input event when checking (or unchecking) the checkbox.

@meretamal meretamal self-assigned this Apr 30, 2023
@netlify
Copy link

netlify bot commented Apr 30, 2023

Deploy Preview for delicate-rolypoly-ac40db ready!

Name Link
🔨 Latest commit e4eaa36
🔍 Latest deploy log https://app.netlify.com/sites/delicate-rolypoly-ac40db/deploys/644e934ceac116000849a0bb
😎 Deploy Preview https://deploy-preview-29--delicate-rolypoly-ac40db.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.

@meretamal meretamal merged commit f986b6f into main Apr 30, 2023
@meretamal meretamal deleted the feat/checked-c-checkbox branch April 30, 2023 16:13
@meretamal meretamal mentioned this pull request May 1, 2023
@meretamal meretamal added feature New feature or request improvement General improvements to the project labels May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request improvement General improvements to the project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant