How to get Ant Design Form data in another Component
It can get the field values if the other component is inside Form.create()
.
Once the field has been registered with getFieldDecorator
, you can access the value by props.form.getFieldValue('fieldName')
.