We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c92d1f commit 8f83c19Copy full SHA for 8f83c19
1 file changed
src/withPickerValues/PickerModal.js
@@ -28,6 +28,9 @@ class PickerModal extends PureComponent<PropsType> {
28
const values = [...this.props.values];
29
if (Platform.OS === 'ios') {
30
values.unshift({ value: '', label: placeholder });
31
+ } else {
32
+ // Fix for issue: https://github.com/facebook/react-native/issues/15556
33
+ values.push({ value: '', label: '' });
34
}
35
const picker = (
36
<Picker onValueChange={this.onValueChange} selectedValue={value} prompt={placeholder}>
0 commit comments