# SiSelectComponent documentation

**Kind:** component

**Selector:** `si-select`

```
import { SiSelectComponent } from '@siemens/element-ng/select';
```

```
component SiSelectComponent<T> implements SiFormItemControl
```

#### Input Properties

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| [ariaLabel](<https://github.com/siemens/element/blob/main/projects/element-ng/select/si-select.component.ts#L81-L81>) | `string \| null` | `null` | Aria label of the select. |
| [disabled](<https://github.com/siemens/element/blob/main/projects/element-ng/select/si-custom-select.directive.ts#L123-L123>) | `boolean` | `false` | Whether the select input is disabled. |
| [errormessageId](<https://github.com/siemens/element/blob/main/projects/element-ng/select/si-custom-select.directive.ts#L195-L195>) | `string` | `` `${this.id()}-errormessage` `` | This ID will be bound to the `aria-describedby` attribute of the select.<br><br>Implements [SiFormItemControl](<index.html#t:SiFormItemControl>) |
| [filterPlaceholder](<https://github.com/siemens/element/blob/main/projects/element-ng/select/si-select.component.ts#L93-L93>) | `TranslatableString` | `` $localize`:@@SI_SELECT.SEARCH-PLACEHOLDER:Search…` `` | Placeholder for search input field. |
| [hasFilter](<https://github.com/siemens/element/blob/main/projects/element-ng/select/si-select.component.ts#L134-L134>) | `boolean` | `false` | Enables the filter input |
| [id](<https://github.com/siemens/element/blob/main/projects/element-ng/select/si-custom-select.directive.ts#L115-L115>) | `string` | `` `__si-select-${SiCustomSelectDirective.idCounter++}` `` | Unique identifier.<br><br>Implements [SiFormItemControl](<index.html#t:SiFormItemControl>) |
| [labelledby](<https://github.com/siemens/element/blob/main/projects/element-ng/select/si-custom-select.directive.ts#L138-L138>) | `string \| undefined` | `undefined` | Aria labelledby of the select. |
| [noResultsFoundLabel](<https://github.com/siemens/element/blob/main/projects/element-ng/select/si-select.component.ts#L102-L104>) | `TranslatableString` | `` $localize`:@@SI_SELECT.NO-RESULTS-FOUND:No results found` `` | Label if no item can be found. |
| [placeholder](<https://github.com/siemens/element/blob/main/projects/element-ng/select/si-select.component.ts#L106-L106>) | `TranslatableString \| undefined` |  | Placeholder text to display when no options are selected. |
| [readonly](<https://github.com/siemens/element/blob/main/projects/element-ng/select/si-custom-select.directive.ts#L130-L130>) | `boolean` | `false` | Readonly state. Similar to disabled but with higher contrast. |
| [scrollStrategy](<https://github.com/siemens/element/blob/main/projects/element-ng/select/si-custom-select.directive.ts#L145-L147>) | `ScrollStrategy` | `defaultConnectedOverlayScrollStrategy()` | Optional CDK scroll strategy used for the custom select overlay. |

#### Output Properties

| Name | Type | Description |
| --- | --- | --- |
| [openChange](<https://github.com/siemens/element/blob/main/projects/element-ng/select/si-custom-select.directive.ts#L150-L150>) | `boolean` | Emits when the dropdown open state changes. |

#### Attributes and Methods

##### close

[Source for close](<https://github.com/siemens/element/blob/main/projects/element-ng/select/si-select.component.ts#L142-L144>)

Closes the `si-select`.

```
close(): void
```

**Returns:** [void](<https://www.typescriptlang.org/docs/handbook/2/functions.html#void>)

##### labelledbyInput

[Source for labelledbyInput](<https://github.com/siemens/element/blob/main/projects/element-ng/select/si-select.component.ts#L84-L84>)

**Modifiers:** readonly

**Type:** `InputSignal<string | undefined>`

**Default:** `this.select.labelledbyInput`

Aria labelledby of the select.

##### open

[Source for open](<https://github.com/siemens/element/blob/main/projects/element-ng/select/si-select.component.ts#L137-L139>)

Opens the `si-select`.

```
open(): void
```

**Returns:** [void](<https://www.typescriptlang.org/docs/handbook/2/functions.html#void>)

### Types Documentation

### [TranslatableString](<https://github.com/siemens/element/blob/main/projects/element-translate-ng/translate-types/global.types.ts#L18-L18>)

**Kind:** type alias

```
import type { TranslatableString } from '@siemens/element-translate-ng/translate-types';
```

Represents a translatable string. This can either be a translation key, e.g. `ACTIONS.EDIT` that will be automatically translated when displayed on the UI or a pre-translated string, e.g. `Edit`. Equivalent to a normal string in usage and functionality.

```
type TranslatableString = string & Translatable
```

### [SiFormItemControl](<https://github.com/siemens/element/blob/main/projects/element-ng/form/si-form-item.control.ts#L14-L38>)

**Kind:** interface

```
import type { SiFormItemControl } from '@siemens/element-ng/form';
```

Common interface for form item controls. Controls that should be connected to [SiFormItemComponent](<../SiFormItemComponent/index.html#SiFormItemComponent>) must implement this interface and must be provided using the [SI\_FORM\_ITEM\_CONTROL](<../../types/SI_FORM_ITEM_CONTROL/index.html#t:SI_FORM_ITEM_CONTROL>) token.

```
interface SiFormItemControl
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [errormessageId](<https://github.com/siemens/element/blob/main/projects/element-ng/form/si-form-item.control.ts#L34-L34>) (readonly) | `string \| Signal<string>` | Generated ID that the [SiFormItemComponent](<../SiFormItemComponent/index.html#SiFormItemComponent>) will assign to the element containing the error messages. Implementations of [SiFormItemControl](<index.html#t:SiFormItemControl>) must generate this ID and assign it to the `aria-describedby` attribute of their focusable elements. |
| [id](<https://github.com/siemens/element/blob/main/projects/element-ng/form/si-form-item.control.ts#L16-L16>) (optional, readonly) | `string \| Signal<string \| undefined>` | The actual id of the control that should be used in the `for` attribute of a label. |
| [isFormCheck](<https://github.com/siemens/element/blob/main/projects/element-ng/form/si-form-item.control.ts#L37-L37>) (optional, readonly) | `boolean` | If the control is meant to be used a checkbox. This affects the label positioning. |
| [labelledby](<https://github.com/siemens/element/blob/main/projects/element-ng/form/si-form-item.control.ts#L27-L27>) (optional, readonly) | `string \| Signal<string \| undefined> \| null` | ID that should be assigned to the label element inside the [SiFormItemComponent](<../SiFormItemComponent/index.html#SiFormItemComponent>).<br><br>If the target control is not of type input, select or button, it cannot be referenced by a label. Instead, aria-labelledby must be used to create a reference to a label. In such a case, an implementation of [SiFormItemControl](<index.html#t:SiFormItemControl>) must provide the id of the label in [labelledby](<index.html#t:SiFormItemControl.labelledby>). [SiFormItemComponent](<../SiFormItemComponent/index.html#SiFormItemComponent>) will apply the id to the label so that it can be used inside the control to reference it in the aria-labelledby attribute. |
