ValidationErrorWithOptionalField
interface
Validation error with optional field.
field
(() => FieldState<unknown, string | number>) | undefinedThe field associated with this error.
kind
stringIdentifies the kind of error.
message
string | undefinedHuman readable error message.
Description
Validation error with optional field.
This is generally used in places where the result might have a field.
e.g., as a result of a validateTree, or when handling form submission.
Jump to details