We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a52ed73 commit c6f80b4Copy full SHA for c6f80b4
src/withPickerValues/PickerModal.js
@@ -26,7 +26,7 @@ class PickerModal extends PureComponent<PropsType> {
26
if (!this.props.values || !this.props.values.length) return null;
27
const values = [...this.props.values];
28
if (Platform.OS === 'ios') {
29
- values.unshift({ value: '', label: placeholder });
+ values.unshift({ value: '', label: placeholder || '' });
30
} else {
31
// Fix for issue: https://github.com/facebook/react-native/issues/15556
32
values.unshift({ value: '', label: '' });
0 commit comments