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.

Type declaration

NameTypeDescriptionDefined in
autofocusbooleanWhether the element should receive focus when renderedbuildFormPage.ts:23
disabledbooleanWhether user interaction with the element should be preventedbuildFormPage.ts:21
hiddenbooleanWhether the element should be visually hiddenbuildFormPage.ts:17
requiredbooleanWhether the field must be filled before proceedingbuildFormPage.ts:25
usefulbooleanWhether the element is needed for computing target rulesbuildFormPage.ts:19