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

feat: added additional prop checked to checkbox #511

Merged
merged 3 commits into from Jul 12, 2019

Conversation

dgoldstein1
Copy link
Contributor

@dgoldstein1 dgoldstein1 commented Jul 11, 2019

it is necessary to be able to set checkboxes as controlled components

Copy link
Contributor

@kaitmore kaitmore left a comment

Choose a reason for hiding this comment

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

This was my bad, I moved {...props} from line 26 to line 20.

I think it's ok to be explicit about passing the checked prop, but could you also revert my change by adding {...props} back to the CheckBox component to avoid future problems? And could you also add a style prop that is passed to InputWrap? Thank you!!

Copy link
Contributor

@kaitmore kaitmore left a comment

Choose a reason for hiding this comment

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

LGTM

@dgoldstein1 dgoldstein1 merged commit de558fd into develop Jul 12, 2019
@delete-merged-branch delete-merged-branch bot deleted the controlled-checkbox branch July 12, 2019 13:17
tilleryd pushed a commit that referenced this pull request Jul 14, 2019
* feat: added additional prop checked to checkbox

* feat: passing all props to checkbox

* chore: resolved linting errors
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.

None yet

2 participants