php8.5
Home/ Manual/ controls / combo/ UI\Controls\Combo::setSelected

UI\Controls\Combo::setSelected

PHP function Edit on GitHub ✎

(UI 0.9.9)

Set Selected Option

Description

UI\Controls\Combo::setSelected(int $index)

Shall set the currently selected option in this Combo

Parameters

index

The index of the option to select

Source: reference/ui/ui/controls/combo/setselected.xml · from the official PHP manual (php/doc-en)