Skip to content

SiSelectSingleValueDirective documentation

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

The directive enables the single-select behavior. Otherwise, use the SiSelectMultiValueDirective directive.

Example:

<si-select [(value)]="selectedValue" [options]="[
 { id: 'good', title: 'Good' },
 { id: 'average', title: 'Average' },
 { id: 'poor', title: 'Poor' }
]"></si-select>

Input Properties

Name Type Description
value inherited
T | undefined

The selected value(s).

Inherited from SiSelectSelectionStrategy<T, T>

Output Properties

Name Type Description
valueChange inherited
T

Emitted when the selection is changed

Inherited from SiSelectSelectionStrategy<T, T>

Attributes and Methods

Name Type Default Description
allowMultiple
boolean false

{@inheritDoc SiSelectSelectionStrategy#allowMultiple}

Inherited from SiSelectSelectionStrategy<T, T>


Except where otherwise noted, content on this site is licensed under MIT License.