Skip to content

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

Merged
snide merged 2 commits intoelastic:masterfrom
snide:form/data-ids
Jan 2, 2018
Merged

Apply additional props to checkbox/switch inputs rather than wrappers#246
snide merged 2 commits intoelastic:masterfrom
snide:form/data-ids

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.

@snide snide added the breaking change PRs with breaking changes. (Don't delete - used for automation) label Jan 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change PRs with breaking changes. (Don't delete - used for automation)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants