Skip to content

Commit

Permalink
Merge pull request #14 from bamlab/tpucci-patch-2
Browse files Browse the repository at this point in the history
fix(android): Fix Picker for Android when initialising it with null v…
  • Loading branch information
tpucci authored Apr 9, 2018
2 parents 0b98f00 + 25a5c3a commit 6867b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/withPickerValues/PickerModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class PickerModal extends PureComponent<PropsType> {
values.unshift({ value: '', label: placeholder });
} else {
// Fix for issue: https://github.com/facebook/react-native/issues/15556
values.push({ value: '', label: '' });
values.unshift({ value: '', label: '' });
}
const picker = (
<Picker onValueChange={this.onValueChange} selectedValue={value} prompt={placeholder}>
Expand Down

0 comments on commit 6867b3e

Please sign in to comment.