picker
picker copied to clipboard
[android] Cannot select item with numeric value zero
similar to https://github.com/react-native-picker/picker/issues/592
I encounter some bugs after upgrade to RN 0.76...after some investigation I found it only happens on Android and is related to the value prop of <Picker.Item>:
iOS will convert everything into string so it is fine (even with empty string), while android will keep the origin type of value so the selection of any "js falsy" value (numeric zero, empty string, undefined value etc) will not fire the onValueChange event.
Please help.
This issue has been fixed via #604 and is available in the latest version of the lib