CRUDUI

Home > @polyspec/crudui-generator-core > FormRenderOptions

FormRenderOptions interface

Options of renderForm and of the framework Form components.

Signature:

export interface FormRenderOptions 

Properties

Property

Modifiers

Type

Description

action?

FormRenderAction

(Optional) Writes a form element with this target.

errors?

FormRenderError[]

(Optional) Errors of nodes, written in the errors slot of the node of each path.

formErrors?

string[]

(Optional) Errors of the whole form, written before the form body.

hidden?

Record<string, string>

(Optional) Hidden inputs written inside the form element, in member order; requires action.