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

[select] fix(MultiSelect): avoid mutating props.tagInputProps #6653

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

adidahiya
Copy link
Contributor

Fixes #6645

Changes proposed in this pull request:

Tiny code refactor to avoid mutating props.tagInputProps

Reviewers should focus on:

No regressions in fill={true} or disabled={true} behavior for this component.

Screenshot

@adidahiya
Copy link
Contributor Author

[select] fix(MultiSelect): avoid mutating props.tagInputProps

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

@adidahiya
Copy link
Contributor Author

Fill and disabled props still work:

image image

@adidahiya adidahiya merged commit dd1db7c into develop Jan 12, 2024
12 checks passed
@adidahiya adidahiya deleted the ad/fix-multi-select-prop-mutation branch January 12, 2024 14:47
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 mutates incoming tagInputProps object
1 participant