Form Field
Feedbackatlas-form-fieldExamples
With Signal Forms
atlas-form-field lays out a label, the control and a hint or error, and links them: the label names the control, the hint or error describes it, and error marks it invalid — no ids to write. Drive error from the Signal Forms field state.
Any Atlas control
The same field works for every Atlas control — select, date picker, time picker, radio group. Pickers are announced with their value ("Delivery date, 12 Mar 2026"), and an error is read when the control is focused.
API
Generated from the library source, so it always matches the code.
AtlasFormFieldComponent atlas-form-field
| Input | Type | Default | Description |
|---|---|---|---|
| label | string | null | null | atlasLabel that names the control. For rich label content project your own <label atlasLabel> instead (the field gives it for ). |
| error | string | null | null | aria-invalid and described by it. |
| hint | string | null | null | |
| fieldId | string | undefined | undefined | for ). Generated when not set. |
| class | string | '' | cn() ; yours win on conflicts. |