Merge "fix: Fix the disable property of check-box-group" into stable/zed

This commit is contained in:
Zuul
2022-09-26 06:20:06 +00:00
committed by Gerrit Code Review

View File

@@ -68,7 +68,9 @@ export default class index extends Component {
<Row>
{options.map((opt) => (
<Col span={span} key={opt.value}>
<Checkbox value={opt.value}>{opt.label}</Checkbox>
<Checkbox value={opt.value} disabled={!!opt.disabled}>
{opt.label}
</Checkbox>
</Col>
))}
</Row>