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
Name | Type | Description | Defined in |
---|---|---|---|
autofocus | boolean | Whether the element should receive focus when rendered | buildFormPage.ts:22 |
disabled | boolean | Whether user interaction with the element should be prevented | buildFormPage.ts:20 |
hidden | boolean | Whether the element should be visually hidden | buildFormPage.ts:16 |
required | boolean | Whether the field must be filled before proceeding | buildFormPage.ts:24 |
useful | boolean | Whether the element is needed for computing target rules | buildFormPage.ts:18 |