Table of Contents
Textarea
A Textarea is a multi line input area.
Attributes
| Name | Allowed Values | Description |
|---|---|---|
| width | Length- or Percentage | Sets the width of a widget |
| css | CSS Class Name | Sets a new style |
| tooltip | Text | Sets a tooltip text |
| id | Text | Sets the unique ID of the widget |
| action | Method Name | Left mouse click |
| lines | Number | Number of visible lines |
Options
| Name | Allowed Values | Description |
|---|---|---|
| visible | Bool | Widget visible/invisible |
| enabled | Bool | Widget enabled/disabled |
Example
XML
<textarea id="textarea" lines="5" />
PHP
$result->setData('textarea', "A long\nMultiline\nText");
Result
Links
You could leave a comment if you were logged in.
