FormPageElementProp

API / @publicodes/forms / FormPageElementProp

type FormPageElementProp = object;

Defined in: buildFormPage.ts:14

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.

Type declaration

NameTypeDescriptionDefined in
autofocusbooleanWhether the element should receive focus when renderedbuildFormPage.ts:22
disabledbooleanWhether user interaction with the element should be preventedbuildFormPage.ts:20
hiddenbooleanWhether the element should be visually hiddenbuildFormPage.ts:16
requiredbooleanWhether the field must be filled before proceedingbuildFormPage.ts:24
usefulbooleanWhether the element is needed for computing target rulesbuildFormPage.ts:18