Get Instances
These utilities will help you get FormInstance
, FieldInstance
or FieldArrayInstance
from anywhere in your app.
WARNING
Instance that these utilities return only exits after Form mount. If you use these utilities before form mount, they will return undefined
.
getFormInstance()
Function to get FormInstance
by name. You have to name your form before use this function.
getFieldInstance()
Function to get FormItemInstance
by form's name and field's name path.
getFieldArrayInstance()
Function to get FieldArrayInstance
by form's name and field array's name path.