Text Area
Overview
The TextArea component is a multi-line input widget that counts and limits the number of characters that the user can enter. The Text Area also displays the character count on the top right of the component. The primary usage of this component is to get inputs such as Notes and feedback. It can be used for regular text entries as well.
NOTE: The Text Area Component is used inside the Mobile Banking application.
Text Area Contracts
The Text Area component contains the following contracts.
setData Method
This method is used to set the properties of the input box in the Text Area component.
| Parameter | Value |
|---|---|
|
Syntax |
|
| Input parameter |
|
|
Sample Input |
var data = {
"title": "Notes (Optional):",
"maxChars": 150,
"text": "This is a sample text",
"placeholder": "Enter here",
"height": "50dp"
};
this.view.textarea.setData(data);
|
|
Return Type |
None |
In this topic