Select
Formsatlas-selectExamples
Basic
Options are data; disabled options are skipped by the keyboard. Bind [(value)] .
Value: —
With Signal Forms
Every Atlas form control is a Signal Forms control: bind [formField] and the field state (value, required, invalid, touched) flows in.
Ghost variant, disabled options, no clear button
variant="ghost" drops the border for toolbars and dense headers. Disabled options stay visible but cannot be chosen; [clearable]="false" removes the clear button when a value is always required.
Quarterly report
Period: q3
API
Generated from the library source, so it always matches the code.
AtlasSelectComponent atlas-select
| Input | Type | Default | Description |
|---|---|---|---|
| options required | SelectOption[] | — | disabled options are shown but cannot be chosen. |
| value two-way | string | '' | value ; '' when nothing is selected (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 | select.placeholder . |
| variant | 'default' | 'ghost' | 'default' | default has a border and background; ghost is borderless, for toolbars and dense headers. |
| clearable | boolean | true | |
| 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. |
| Output | Payload | Description |
|---|---|---|
| touch | void |
Types
SelectOption
| Property | Type | Description |
|---|---|---|
| value | string | |
| label | string | |
| disabled? | boolean |