@@ -61,16 +61,18 @@ We use typescript to create the Type definition. You can view directly in IDE. B
6161
6262## Form
6363
64- | Prop | Description | Type | Default |
65- | ---------------- | -------------------------------------------------- | ------------------------------------- | ---------------- |
66- | component | Customize Form render component | string \| Component \| false | form |
67- | fields | Control Form fields status. Only use when in Redux | [ FieldData] ( #fielddata ) [ ] | - |
68- | form | Set form instance created by ` useForm ` | [ FormInstance] ( #useform ) | ` Form.useForm() ` |
69- | initialValues | Initial value of Form | Object | - |
70- | name | Config name with [ FormProvider] ( #formprovider ) | string | - |
71- | validateMessages | Set validate message template | [ ValidateMessages] ( #validatemessages ) | - |
72- | onFieldsChange | Trigger when any value of Field changed | (changedFields, allFields): void | - |
73- | onValuesChange | Trigger when any value of Field changed | (changedValues, values): void | - |
64+ | Prop | Description | Type | Default |
65+ | ---------------- | -------------------------------------------------- | ------------------------------------------ | ---------------- |
66+ | component | Customize Form render component | string \| Component \| false | form |
67+ | fields | Control Form fields status. Only use when in Redux | [ FieldData] ( #fielddata ) [ ] | - |
68+ | form | Set form instance created by ` useForm ` | [ FormInstance] ( #useform ) | ` Form.useForm() ` |
69+ | initialValues | Initial value of Form | Object | - |
70+ | name | Config name with [ FormProvider] ( #formprovider ) | string | - |
71+ | validateMessages | Set validate message template | [ ValidateMessages] ( #validatemessages ) | - |
72+ | onFieldsChange | Trigger when any value of Field changed | (changedFields, allFields): void | - |
73+ | onFinish | Trigger when form submit and success | (values): void | - |
74+ | onFinishFailed | Trigger when form submit and failed | ({ values, errorFields, outOfDate }): void | - |
75+ | onValuesChange | Trigger when any value of Field changed | (changedValues, values): void | - |
7476
7577## Field
7678
0 commit comments