Type Alias: ResolvedValidator()
ResolvedValidator = (
value,store,getFormData?) =>Promise<ValidationResult[] |undefined>
The function that validates a value and returns the validation result.
Parameters
value
any
the validated value.
store
the form viewer settings.
getFormData?
() => IFormData
the function that returns a form data.
Returns
Promise<ValidationResult[] | undefined>
the Promise with the results of the validation.