Skip to main content
Version: v9

ion-select-option

shadow

Select Options are components that are child elements of a Select. Each option defined is passed and displayed in the Select dialog.

For usage examples, see the Select documentation.

Properties

description

DescriptionText that is placed underneath the option text to provide additional details about the option.
Attributedescription
Typestring | undefined
Defaultundefined

disabled

DescriptionIf true, the user cannot interact with the select option. This property does not apply when interface="action-sheet" as ion-action-sheet does not allow for disabled buttons.
Attributedisabled
Typeboolean
Defaultfalse

mode

DescriptionThe mode determines the platform behaviors of the component.

This is a virtual property that is set once during initialization and will not update if you change its value after the initial render.
Attributemode
Type"ios" | "md"
Defaultundefined

theme

DescriptionThe theme determines the visual appearance of the component.

This is a virtual property that is set once during initialization and will not update if you change its value after the initial render.
Attributetheme
Type"ios" | "md" | "ionic"
Defaultundefined

value

DescriptionThe text value of the option.
Attributevalue
Typeany
Defaultundefined

Events

No events available for this component.

Methods

No public methods available for this component.

CSS Shadow Parts

No CSS shadow parts available for this component.

CSS Custom Properties

No CSS custom properties available for this component.

Slots

NameDescription
``Content is placed between the named slots if provided without a slot.
endContent is placed to the right of the select option text in LTR, and to the left in RTL.
startContent is placed to the left of the select option text in LTR, and to the right in RTL.