Form

Container for form inputs and validation.

Interactive preview configurations are being developed for this component.

Props

name
string
A name identifier for the form. Useful for debugging complex forms with multiple nested forms.
status
GoabPublicFormStatus
The initialization status of the form. Set to "initializing" while loading external state, then "complete" when ready.
Defaults to complete.
name
string
A name identifier for the form. Useful for debugging complex forms with multiple nested forms.
status
GoabPublicFormStatus
The initialization status of the form. Set to "initializing" while loading external state, then "complete" when ready.
Defaults to complete.
name
string
A name identifier for the form. Useful for debugging complex forms with multiple nested forms.
Defaults to [name] not set.
status
"initializing" | "complete"
The initialization status of the form. Set to "initializing" while loading external state, then "complete" when ready.
Defaults to complete.

Events

onComplete
(event: GoabFormState) => void
Callback fired when the form is completed.
onInit
(event: Event) => void
Callback fired when the form is initialized.
onStateChange
(event: GoabFormState) => void
Callback fired when the form state changes.
onComplete
GoabFormState
Emits when the form is complete. Emits the form state.
onInit
Event
Emits when the form is initialized.
onStateChange
GoabFormState
Emits when the form state changes. Emits the updated form state.
_init
CustomEvent
Examples
Examples show common usage patterns and implementation guidance.

No usage guidelines have been documented for this component yet.

All GoA Design System components are built to meet WCAG 2.2 AA standards. The following guidelines provide additional context for accessible implementation.

No accessibility-specific guidelines have been documented for this component yet.

View old component docs