Skip to content

SelectOptionLegacy Type documentation

Copyright (c) Siemens 2016 - 2025 SPDX-License-Identifier: MIT
Deprecated: Use SelectOption instead.
Properties
Optional color class for the icon
color?: string
Is the option disabled?
disabled?: boolean
Optional icon to display
icon?: string
Identifies the option, will be used as value for the component
id: string
Title to display
title: string
Defines this to be the deprecated option.
type?: undefined

Types Documentation

A select option
Properties
Whether this option is disabled.
disabled?: boolean
An optional icon.
icon?: string
The color of an icon.
iconColor?: string
A label to be shown for this option. Is optional if a custom template is provided or if the value should directly be rendered.
label?: string
An optional stacked icon.
stackedIcon?: string
The color of a stacked icon.
stackedIconColor?: string
Defines this to be an option.
type: "option"
Used for typeahead functionality when filtering is disabled. If provided, this will be used, otherwise the innerText of the rendered element.
typeaheadLabel?: string
The value if this option.
It will be used for formControls and the value property of this si-select .
The value will internally be checked on equality by using === .
So an app should either use string or ensure that same values are referentially equal.

value: T

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