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 cee6556 commit 557d02aCopy full SHA for 557d02a
vedder-picker.ios.js
@@ -51,14 +51,12 @@ var VPickerIOS = React.createClass({
51
var items = []
52
var selectedIndex = 0; // sane default
53
var checkVal = child.props.selectedValue;
54
- var componentRef = child.ref || 'component_' + index;
55
React.Children.forEach(child.props.children, function (child, idx) {
56
if (checkVal === child.props.value) {
57
selectedIndex = idx;
58
}
59
items.push({label: child.props.label, value: child.props.value});
60
});
61
- componentRefs.push(componentRef);
62
componentData.push(items);
63
selectedIndexes.push(selectedIndex);
64
0 commit comments