indexOf(text)

Class: ComboBox.

Description:

Returns and index of a first item whose text matches provided text.

Parameters:

Name Type Description

text

string

Text string to find

Returns:

Returns index of a found item or -1.

Type: number