Sets the text which is contained within a text field.

<void> TextField.setText(<string> text, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
text The text which is contained within a text field.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.