Skip to content

Commit 707dcb6

Browse files
committed
fix radio case
1 parent bb89192 commit 707dcb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TableColumn.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class TableColumn extends React.Component{
2525
shouldUpdated = shouldUpdated ||
2626
children.props.dangerouslySetInnerHTML.__html !==
2727
nextProps.children.props.dangerouslySetInnerHTML.__html;
28-
} else if(children.props.type === 'checkbox') {
28+
} else if(children.props.type === 'checkbox' || children.props.type === 'radio') {
2929
shouldUpdated = shouldUpdated ||
3030
children.props.type !== nextProps.children.props.type ||
3131
children.props.checked !== nextProps.children.props.checked;

0 commit comments

Comments
 (0)