Gets the index of the selected item of the SelectionFormField. If the property value is -1, no item is selected and the currently selected item is deselected.

<void> SelectionFormField.getSelectedIndex(<RequestNumberCallback> callback, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback Receives the index of the selected item.
errorCallback Optional. Is called when the operation failed with an error.