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

<void> SelectionFormField.setItems(<String[]> items, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
items A list of items for the SelectionFormField.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.