fix incorrect prop passed to checkbox in docs examples (#12448)

prop should be `checked` instead of `value`
This commit is contained in:
Federico Marcos 2018-09-29 07:09:03 -03:00 committed by Wei Zhu
parent 66f72ff408
commit ab92c934d5

View File

@ -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