b454d31ab8
Summary:According to the [docs](http://facebook.github.io/react-native/releases/0.20/docs/picker.html#onvaluechange), `Picker`'s `onValueChange` should be called with `itemValue` and `itemPosition` but currently only `itemValue` is passed. This PR fixes that. The position is passed as the 2nd parameter to not introduce any breaking change, and also to respect the current documentation. The documentation doesn't need to be changed as it will be correct with this PR, but maybe it needs to be updated until this is merged? Closes https://github.com/facebook/react-native/pull/5874 Differential Revision: D2953936 Pulled By: nicklockwood fb-gh-sync-id: b8c1283013d4c7ed315066d8750f601f76f6bbb2 shipit-source-id: b8c1283013d4c7ed315066d8750f601f76f6bbb2 |
||
---|---|---|
.. | ||
Picker.js | ||
PickerAndroid.android.js | ||
PickerAndroid.ios.js |