fix children map

pull/213/head
yiminghe 10 years ago
parent 4bf5e4e3f4
commit 06aa5877e2

@ -3,7 +3,7 @@ import Radio from './radio';
function getCheckedValue(children) {
var checkedValue = null;
children.forEach(function (radio) {
React.Children.forEach(children, function (radio) {
if (radio.props && radio.props.checked) {
checkedValue = radio.props.value;
}

Loading…
Cancel
Save