mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
fix incorrect prop passed to checkbox in docs examples (#12448)
prop should be `checked` instead of `value`
This commit is contained in:
parent
66f72ff408
commit
ab92c934d5
@ -75,7 +75,7 @@ class DynamicRule extends React.Component {
|
||||
</FormItem>
|
||||
<FormItem {...formTailLayout}>
|
||||
<Checkbox
|
||||
value={this.state.checkNick}
|
||||
checked={this.state.checkNick}
|
||||
onChange={this.handleChange}
|
||||
>
|
||||
Nickname is required
|
||||
|
Loading…
Reference in New Issue
Block a user