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

finish getItemValue/Label deprecation #3076

Conversation

adids1221
Copy link
Contributor

@adids1221 adids1221 commented May 19, 2024

Description

Picker refactor - getItemValue & getItemLabel finish props deprecation.
Picker.Item getItemLabel prop is now "independent" type in PickerItemProps.

Changelog

Picker getItemValue & getItemLabel finish props deprecation.

Additional info

MADS - 4178

@Inbal-Tish
Copy link
Collaborator

Inbal-Tish commented May 20, 2024

@adids1221 I see many usages to 'getItemLabel'... Is it not deprecated as well? Also on picker.types file there is a mention in the 'value' prop comment to 'getItemValue'

@Inbal-Tish Inbal-Tish assigned adids1221 and unassigned Inbal-Tish May 20, 2024
@adids1221
Copy link
Contributor Author

@Inbal-Tish I rephrased the value comment.
About the usage of getItemLabel the prop is part of PickerItemProps now and not PickerProps

@adids1221 adids1221 assigned Inbal-Tish and unassigned adids1221 May 20, 2024
@adids1221 adids1221 closed this May 21, 2024
@adids1221 adids1221 deleted the infra/Picker_refactor_getItemValue_Label_prop_deprecation branch May 21, 2024 07:07
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.

None yet

2 participants