diff --git a/src/components/picker/PickerDialog.android.js b/src/components/picker/PickerDialog.android.js index ad7c33496c..a6ac3bdcae 100644 --- a/src/components/picker/PickerDialog.android.js +++ b/src/components/picker/PickerDialog.android.js @@ -69,12 +69,12 @@ class PickerDialog extends BaseComponent { } renderPicker() { - const {children, onValueChange, selectedValue, renderNativePicker, wheelPickerProps} = this.props; + const {children, onValueChange, selectedValue, renderNativePicker, wheelPickerProps, testID} = this.props; if (_.isFunction(renderNativePicker)) { return renderNativePicker(this.props); } return ( - + {children} ); diff --git a/src/components/picker/PickerDialog.ios.js b/src/components/picker/PickerDialog.ios.js index e79ade1eae..8d0c1bfc4f 100644 --- a/src/components/picker/PickerDialog.ios.js +++ b/src/components/picker/PickerDialog.ios.js @@ -40,12 +40,12 @@ class PickerDialog extends BaseComponent { } renderPicker() { - const {children, onValueChange, selectedValue, renderNativePicker, pickerStyle} = this.props; + const {children, onValueChange, selectedValue, renderNativePicker, pickerStyle, testID} = this.props; if (_.isFunction(renderNativePicker)) { return renderNativePicker(this.props); } return ( - + {children} );