Skip to content

Commit 6867b3e

Browse files
authored
Merge pull request #14 from bamlab/tpucci-patch-2
fix(android): Fix Picker for Android when initialising it with null v…
2 parents 0b98f00 + 25a5c3a commit 6867b3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/withPickerValues/PickerModal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class PickerModal extends PureComponent<PropsType> {
3030
values.unshift({ value: '', label: placeholder });
3131
} else {
3232
// Fix for issue: https://github.com/facebook/react-native/issues/15556
33-
values.push({ value: '', label: '' });
33+
values.unshift({ value: '', label: '' });
3434
}
3535
const picker = (
3636
<Picker onValueChange={this.onValueChange} selectedValue={value} prompt={placeholder}>

0 commit comments

Comments
 (0)