FormStatusData
FormStatusData =
object
Defined in: packages/ui/src/types.ts:1081
Data structure for action result feedback (success, error, field errors).
Typically returned from React Router actions and passed to FormStatusProps.
Supports both top-level messages and per-field validation errors from @cfast/forms.
FormStatusProps for the component that renders this data.
Properties
Section titled “Properties”error?
Section titled “error?”
optionalerror:string
Defined in: packages/ui/src/types.ts:1085
Error message to display.
fieldErrors?
Section titled “fieldErrors?”
optionalfieldErrors:Record<string,string[]>
Defined in: packages/ui/src/types.ts:1087
Per-field validation error messages.
success?
Section titled “success?”
optionalsuccess:string
Defined in: packages/ui/src/types.ts:1083
Success message to display.