VirtualField
Props
| Prop name | Description | Type | Values | Default |
|---|---|---|---|---|
| form | The form instance that created by createForm | Form | - | undefined |
| name | The field name | string | - | |
| value | Function that generate value to validate, run in watchEffect, so if return value change, the field will revalidate.Tips: Do not visit form's error state in the function, because the validate will change error state, it will causes an infinite loop of calls. | () => any | - | |
| rules | VirtualFieldRule list Tips: Do not visit form's error state in the validator function, because the validate will change error state, it will causes an infinite loop of calls. | VirtualFieldRule[] | - | () => [] |
| debounce | Field validate debounce time, millseconds. | number | - | undefined |
Slots
| Name | Description | Bindings |
|---|---|---|
| default |