diff --git a/components/checkbox/Checkbox.jsx b/components/checkbox/Checkbox.jsx index 6929e08c2..3334f7cbb 100644 --- a/components/checkbox/Checkbox.jsx +++ b/components/checkbox/Checkbox.jsx @@ -95,6 +95,7 @@ export default { checkboxProps.props.name = checkboxGroup.name; checkboxProps.props.checked = checkboxGroup.sValue.indexOf(props.value) !== -1; checkboxProps.props.disabled = props.disabled || checkboxGroup.disabled; + checkboxProps.props.indeterminate = indeterminate; } else { checkboxProps.on.change = this.handleChange; } diff --git a/components/checkbox/Group.jsx b/components/checkbox/Group.jsx index 626f79deb..da4d63886 100644 --- a/components/checkbox/Group.jsx +++ b/components/checkbox/Group.jsx @@ -99,6 +99,7 @@ export default { prefixCls={prefixCls} key={option.value.toString()} disabled={'disabled' in option ? option.disabled : props.disabled} + indeterminate={option.indeterminate} value={option.value} checked={state.sValue.indexOf(option.value) !== -1} onChange={option.onChange || noop}