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 |
|---|---|---|
| valueinherited ¶ | T | undefined | The selected value(s). Inherited from |
Output Properties¶
| Name | Type | Description |
|---|---|---|
| valueChangeinherited ¶ | T | Emitted when the selection is changed Inherited from |
Attributes and Methods¶
| Name | Type | Default | Description |
|---|---|---|---|
| allowMultiple ¶ | boolean | false | {@inheritDoc SiSelectSelectionStrategy#allowMultiple} Inherited from |
Except where otherwise noted, content on this site is licensed under MIT License.