-
Notifications
You must be signed in to change notification settings - Fork 287
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 2.6+ transforms numeric values to strings #538
Comments
Experiencing the same issue with 2.6.1 on iOS (Android works as expected). Reverting to 2.5.1 for now, which appears compatible with Expo 50 so far (for the Expo users out there). |
We are having the same issue in our project, we'll need to revert until a fix is released |
@WoLewicki since you worked on the PR that seems to have introduced this bug, could you take a look at this? |
Yeah, I can see that, as mentioned here: https://github.com/react-native-picker/picker/pull/456/files/624af21c3f1fa6212d5f13dfb7f21de8e43ba3af#r1526543524, this makes the value always a |
If I have a Picker Item with
value={10}
, using 2.5.1, the value will be set to10
when I select that, but starting with 2.6.0, it will be set to"10"
which is a substantial breaking change.The text was updated successfully, but these errors were encountered: