ion-textarea
Defines a Text Area component.
This component is meant for multiline text type inputs only, such as text, password, email, number, search, tel, and url.
Like any other form’s inputs, it has a Control name property you may change for a more friendly name to use in a CustomValidator.
For more information: Inputs.
Note: Make sure to add your component under a Generic Item or <ion-item>
to make it work properly in form.
Name | Description |
---|---|
Area cols | The number of cols of the textarea. |
Area rows | The number of rows of the textarea. |
ClearInput | If true, a clear icon will appear in the textarea when there is a value. Clicking it clears the textarea. |
ClearOnEdit | If true, the value will be cleared after focus upon edit. |
Control name | The associated declared form’s control name. |
Disabled | If true the component will be disabled, preventing the the user from changing the value. |
Placeholder | Instructional text that shows before the textarea has a value. |
Readonly | If true, the user cannot modify the value. |
Value | The text value of the textarea. |
Comment | Describes the object comment to include in the documentation report. This property generally contains an explanation about the object. |
Identifier | Defines the component identifier. |
Is active | Defines whether the component is active. |