Merge "fix: Fix the disable property of check-box-group"
This commit is contained in:
commit
3713c044f1
@ -68,7 +68,9 @@ export default class index extends Component {
|
|||||||
<Row>
|
<Row>
|
||||||
{options.map((opt) => (
|
{options.map((opt) => (
|
||||||
<Col span={span} key={opt.value}>
|
<Col span={span} key={opt.value}>
|
||||||
<Checkbox value={opt.value}>{opt.label}</Checkbox>
|
<Checkbox value={opt.value} disabled={!!opt.disabled}>
|
||||||
|
{opt.label}
|
||||||
|
</Checkbox>
|
||||||
</Col>
|
</Col>
|
||||||
))}
|
))}
|
||||||
</Row>
|
</Row>
|
||||||
|
Loading…
Reference in New Issue
Block a user