Adds a new TextField with the given text to the collection.

Introduced: 30.0.

<void> TextFieldCollection.addWithText(<string> text, [<RequestTextFieldCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
text The initial field text.
callback Optional. The callback function that receives the requested value.
errorCallback Optional. Is called when the operation failed with an error.