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

Apply additional props to checkbox/switch inputs rather than wrappers #246

Merged
merged 2 commits into from
Jan 2, 2018

Conversation

snide
Copy link
Contributor

@snide snide commented Dec 22, 2017

Fixes #225

Passes {rest} onto the inputs themselves rather than the wrappers. Ran some quick tests to make sure we weren't using those props against the wrappers. This is how we pass it to our text based inputs as well.

@snide snide requested a review from nreese December 22, 2017 17:52
@snide snide added the bug label Dec 22, 2017
Copy link
Contributor

@nreese nreese left a comment

Choose a reason for hiding this comment

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

lgtm

@snide snide merged commit 9765340 into elastic:master Jan 2, 2018
@snide snide deleted the form/data-ids branch January 2, 2018 17:02
@cjcenizal
Copy link
Contributor

@snide Thanks for making this change. It's a good improvement. Would you mind moving the changelog note to the "breaking changes" section since this technically changes the effects these props have upon this component?

@snide
Copy link
Contributor Author

snide commented Jan 2, 2018

@cjcenizal will do.

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.

3 participants