Datepicker
Formsatlas-datepickerExamples
Basic
The value is an ISO date string ( YYYY-MM-DD ); dateFormat controls how the trigger shows it.
Value: —
Date formats
The value is always an ISO date ( 2026-03-12 ); dateFormat only changes how the trigger shows it: short , medium or long , in the configured locale. Without it the configured format applies.
Value: 2026-03-12
With Signal Forms
[formField] binds the ISO date. A custom rule rejects dates in the past; the error describes the trigger, so it is read when the picker gets focus.
API
Generated from the library source, so it always matches the code.
AtlasDatepickerComponent atlas-datepicker
| Input | Type | Default | Description |
|---|---|---|---|
| value two-way | string | '' | YYYY-MM-DD ); '' when empty (two-way, or Signal Forms [field] ). |
| disabled | boolean | false | [field] . |
| errors | readonly ValidationError.WithOptionalFieldTree[] | [] | [field] . |
| required | boolean | false | [field] . |
| invalid | boolean | false | [field] . |
| touched | boolean | false | [field] . |
| readonly | boolean | false | [field] . |
| pending | boolean | false | [field] . |
| name | string | '' | [field] . |
| placeholder | string | undefined | undefined | datepicker.placeholder . |
| ariaLabel | string | null | null | |
| inputId | string | undefined | undefined | id of the focusable element, so a visible <label atlasLabel for="…"> names it. Inside atlas-form-field the field supplies one. |
| ariaDescribedBy | string | null | null | aria-describedby , merged with the surrounding form field's hint or error. |
| class | string | '' | cn() ; yours win on conflicts. |
| dateFormat | AtlasDateFormat | undefined | undefined | dateFormat from provideAtlas() . |
| Output | Payload | Description |
|---|---|---|
| touch | void |