From 25a5c3a7a307ed51aaf54d9285a32ea74842429d Mon Sep 17 00:00:00 2001 From: Thomas Pucci Date: Mon, 9 Apr 2018 15:25:13 +0200 Subject: [PATCH] fix(android): Fix Picker for Android when initialising it with null value --- src/withPickerValues/PickerModal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/withPickerValues/PickerModal.js b/src/withPickerValues/PickerModal.js index 3200b0b..da988c6 100644 --- a/src/withPickerValues/PickerModal.js +++ b/src/withPickerValues/PickerModal.js @@ -30,7 +30,7 @@ class PickerModal extends PureComponent { 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 = (