FormPageElementProp
API / @publicodes/forms / FormPageElementProp
type FormPageElementProp = object; Defined in: buildFormPage.ts:15
Properties that control how a form element should be displayed and behave in the UI.
These properties are computed based on the form’s state and progression to create a dynamic, guided experience through multi-step forms.
Properties
autofocus
autofocus: boolean; Defined in: buildFormPage.ts:23
Whether the element should receive focus when rendered
disabled
disabled: boolean; Defined in: buildFormPage.ts:21
Whether user interaction with the element should be prevented
hidden
hidden: boolean; Defined in: buildFormPage.ts:17
Whether the element should be visually hidden
required
required: boolean; Defined in: buildFormPage.ts:25
Whether the field must be filled before proceeding
useful
useful: boolean; Defined in: buildFormPage.ts:19
Whether the element is needed for computing target rules