Skip to end of metadata
Go to start of metadata
Configuration
Name |
Type |
Description |
width |
integer |
Width of the textarea in pixel |
height |
integer |
Height of the textarea in pixel |
nl2br |
boolean |
Set to true to get also breaks in frontend |
htmlspecialchars |
boolean |
Set to false to get the raw value without HTML special chars like & (default: true) |
| autoStyle |
boolean |
set to false to disable the auto-styling feature (gets the styles from the parent element and applies them to the input field) (since 1.4.6) |
Additionally you can use every configuration property of Ext.form.TextArea to customize the date widget in editmode.
Accessable Properties
Name |
Type |
Description |
text |
string |
Value of the textarea, this is useful to get the value even in editmode |
Example
<?php echo $this->textarea("myTextarea") ?>
<?php echo $this->textarea("myTextarea", array("width" => 300, "height" => 200)) ?>