-
Notifications
You must be signed in to change notification settings - Fork 726
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
Picker prop 'migrate' warning despite not using it. #3110
Comments
I can confirm this. I was searching for this usage, then realised they have this defaulted as If you set it to |
Hey @adids1221! Thank you for your response. We understood that |
Thank you @adids1221 for your work! The ticket can be closed. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Description
When creating a Picker and not using the 'migrate' flag, there's a warning about using the 'migration' prop.
Probably wrong check, as passing migrate=false does not trigger the warning.
Related to
Steps to reproduce
Copy the code snippet and run. :)
Expected behavior
Using the 'migrate' flag with value either 'false' or 'true' triggers a warning.
Actual behavior
Not using the 'migrate' flag triggers the warning.
Using the 'migrate' flag with value 'false' does not trigger the warning.
More Info
"react-native-ui-lib": "^7.23.2"
Code snippet
<Picker
value={''}
onChange={(value) => setTeam(value)}
items={[{value: '1', label: 'one'}]}
/>
Screenshots/Video
Environment
Affected platforms
The text was updated successfully, but these errors were encountered: