VirtualField

Props

Prop nameDescriptionTypeValuesDefault
formThe form instance that created by createFormForm-undefined
nameThe field namestring-
valueFunction 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-
rulesVirtualFieldRule 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[]-() => []
debounceField validate debounce time, millseconds.number-undefined

Slots

NameDescriptionBindings
default