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/BreakingChange] Multiselect onitemselect return type #671

Merged
merged 2 commits into from
Jan 30, 2023

Conversation

riitasointi
Copy link
Collaborator

@riitasointi riitasointi commented Nov 15, 2022

Description

This PR removes null as a possible parameter in MultiSelect's onItemSelect() prop. Null was there because the code had been copied over from SingleSelect where onItemSelect() gets called also when the input is cleared. In MultiSelect there is no such behavior.

Motivation and Context

This was reported as a bug by one of our users.

How Has This Been Tested?

Styleguidist

Release notes

MultiSelect

  • Breaking change: Remove redundant null from possible parameters in onItemSelect() prop

Riippi
Riippi previously approved these changes Nov 15, 2022
Copy link
Collaborator

@Riippi Riippi left a comment

Choose a reason for hiding this comment

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

LGTM

jenkrisu
jenkrisu previously approved these changes Nov 15, 2022
@riitasointi riitasointi changed the title [Fix] Multiselect onitemselect return type [Fix/BreakingChange] Multiselect onitemselect return type Nov 21, 2022
@riitasointi riitasointi dismissed stale reviews from jenkrisu and Riippi via 28de935 January 26, 2023 11:03
@riitasointi riitasointi force-pushed the fix/multiselect-onitemselect-return-type branch from 9a5da52 to 28de935 Compare January 26, 2023 11:03
@LJKaski LJKaski requested review from Riippi and jenkrisu January 27, 2023 08:16
@riitasointi riitasointi merged commit 32525f3 into develop Jan 30, 2023
@riitasointi riitasointi deleted the fix/multiselect-onitemselect-return-type branch January 30, 2023 13:31
@jenkrisu jenkrisu mentioned this pull request Feb 9, 2023
@jenkrisu jenkrisu mentioned this pull request Apr 28, 2023
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.

4 participants