Reference
ServerActionErrors
Represents field and form errors returned by a server action.
Signature
interface ServerActionErrorsMembers
fieldErrors?: Partial<Record<Extract<keyof TValues, string>, readonly string[]>>formErrors?: readonly string[]Reference
Represents field and form errors returned by a server action.
interface ServerActionErrorsfieldErrors?: Partial<Record<Extract<keyof TValues, string>, readonly string[]>>formErrors?: readonly string[]