|
@@ -2059,7 +2059,7 @@ render(WithFieldDemo2);
|
|
|
| component | For declaring fields, not used at the same time as render, props.children | ReactNode |
|
|
|
| className | Classname for form tag | string |
|
|
|
| disabled | If true, all fields inside the form structure will automatically inherit the disabled attribute | boolean | false |
|
|
|
-| extraTextPosition | The extraTextPosition property applied to each Field uniformly controls the display position of extraText. Middle (the vertical direction is displayed in the order of Label, extraText, and Field), bottom (the vertical direction is displayed in the order of Label, Field, and extraText) <br/>**since v1.9.0** | string | 'bottom' |
|
|
|
+| extraTextPosition | The extraTextPosition property applied to each Field uniformly controls the display position of extraText. Middle (the vertical direction is displayed in the order of Label, extraText, and Field), bottom (the vertical direction is displayed in the order of Label, Field, and extraText) | string | 'bottom' |
|
|
|
| getFormApi | This function will be executed once when the form is mounted and returns formApi. <br/>formApi can be used to modify the internal state of the form (value, touched, error) | function (formApi: object) | |
|
|
|
| initValues | Used to uniformly set the initial value of the form <br/>(will be consumed only once when form is mount) | object | |
|
|
|
| layout | The layout of fields, optional `horizontal` or `vertical` | string | 'vertical' |
|
|
@@ -2073,7 +2073,11 @@ render(WithFieldDemo2);
|
|
|
| onSubmit | Callback invoked after clicked on submit button or executed `formApi.submit()`, <br/>and all validation pass. | function (values: object, e: event) | |
|
|
|
| onSubmitFail | Callback invoked after clicked on submit button or executed `formApi.submit()`,<br/> but validate failed. | function (error: object, values: object, e: event) | |
|
|
|
| render | For declaring fields, not used at the same time as component, props.children | function |
|
|
|
-| showValidateIcon | Whether the verification information block in the field automatically adds the corresponding status icon display <br/>**since v1.0.0** | boolean | true |
|
|
|
+| showValidateIcon | Whether the verification information block in the field automatically adds the corresponding status icon display | boolean | true |
|
|
|
+| style | inline style of form element | object |
|
|
|
+| stopValidateWithError | Apply stopValidateWithError to each Field uniformly. For usage instructions, see the API of the same name in Field props (available after v2.42) | boolean | false |
|
|
|
+| stopPropagation | Whether to prevent submit or reset events from bubbling. This is used in nested Form scenarios to prevent events from propagating outwards when the inner Form submits or resets, triggering events in the outer Form. The default is `{ reset: false, submit: false }`(available after v2.63) | object | |
|
|
|
+| trigger | Apply the trigger uniformly to each Field to control the timing of verification. For detailed instructions, see the API of the same name in Field props.(available after v2.42) | string\|array | 'change' |
|
|
|
| validateFields | Form-level custom validate functions are called at submit or formApi.validate(). <br/>Supported synchronous / asynchronous function | function (values) | |
|
|
|
| wrapperCol | Uniformly apply the layout on each Field, with [Col component](/en-US/basic/grid#Col), <br/>set `span`, `span` values, such as {span: 20, offset: 4} | object |
|
|
|
|