Gets a list of items for the SelectionFormField. An item must not be an empty string.

<void> SelectionFormField.getItems(<RequestStringsCallback> 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.