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 repeated classname in MultiSelect inputProps #4051

Merged
merged 2 commits into from
Apr 9, 2020
Merged

Fix repeated classname in MultiSelect inputProps #4051

merged 2 commits into from
Apr 9, 2020

Conversation

justinbhopper
Copy link
Contributor

Fixes #4048

Checklist

  • Includes tests
  • Update documentation

Changes proposed in this pull request:

Changed code in MultiSelect to stop corrupting existing inputProps.

Reviewers should focus on:

Not related to this PR, but BP should consider taking a similar approach for other components to avoid corrupting props. It is an anti-pattern for components to mutate its own props.

Copy link
Contributor

@adidahiya adidahiya left a comment

Choose a reason for hiding this comment

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

thanks @justinbhopper!

@adidahiya adidahiya merged commit ff17d0f into palantir:develop Apr 9, 2020
@adidahiya adidahiya mentioned this pull request Apr 9, 2020
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.

MultiSelect className repeatedly added
2 participants