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: Only add the className prop to DatePicker children once #1137

Merged
merged 1 commit into from
Jul 27, 2020

Conversation

skvale
Copy link
Contributor

@skvale skvale commented Jul 27, 2020

Description

The className prop for the DatePicker shouldn't be applied to the nested InputGroup in addition to the outer div. I could see having a different prop inputClassName (or something) for this.

I see the convention as adding the className prop to the outermost wrapper.

fixes #1135

@netlify
Copy link

netlify bot commented Jul 27, 2020

Deploy preview for fundamental-react ready!

Built with commit b915300

https://deploy-preview-1137--fundamental-react.netlify.app

@skvale skvale changed the title fix: Only add the className prop to DatePicker children fix: Only add the className prop to DatePicker children once Jul 27, 2020
@skvale skvale merged commit 1d5b9cb into master Jul 27, 2020
@skvale skvale deleted the fix/datepicker-add-classname-once branch July 27, 2020 17:04
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.

The className prop on a DatePicker is applied to two elements
3 participants