mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 11:40:04 +08:00
update mapPropsToFields demo
This commit is contained in:
parent
10196718e4
commit
98bc178a36
@ -17,6 +17,8 @@ We can store form data into upper component or [Redux](https://github.com/reactj
|
||||
|
||||
**Note:** You must wrap field data with `Form.createFormField` in `mapPropsToFields`.
|
||||
|
||||
**Note:** Here, errors are passed to higher order component in `onFieldsChange` and passed back in `mapPropsToFields`.
|
||||
|
||||
````jsx
|
||||
import { Form, Input } from 'antd';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user