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

justify

DescriptionHow to pack the label and the option's selection control within a line. "start": The label and radio will appear on the left in LTR and on the right in RTL. "end": The label and radio will appear on the right in LTR and on the left in RTL. "space-between": The label and radio will appear on opposite ends of the line with space between the two elements.

Applies to the alert, popover, and modal interfaces, but has no visible effect on radio options in popover or modal on the md and ionic themes (the radio control is hidden there).

When unset, the interface picks a default based on theme and control type.
Attributejustify
Type"end" | "space-between" | "start" | undefined
Defaultundefined

labelPlacement

DescriptionWhere the label is placed relative to the option's selection control (radio circle or checkbox box) when the option is rendered in an alert, popover, or modal interface. "start": The label will appear to the left of the radio in LTR and to the right in RTL. "end": The label will appear to the right of the radio in LTR and to the left in RTL.

Applies to the alert, popover, and modal interfaces, but has no visible effect on radio options in popover or modal on the md and ionic themes (the radio control is hidden there).

When unset, the interface picks a default based on theme and control type.
Attributelabel-placement
Type"end" | "start" | undefined
Defaultundefined

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.