textarea() html()
A bare <textarea> (no form row); the value is escaped.
html()->textarea($name = '', $value = '', $extra = [])Options
| Option | Meaning |
|---|---|
$name, $value | Name and text. |
id, class, rows, cols, placeholder, disabled, readonly, required | Attributes. |
Example
Code
return html()->textarea('input_name', "some value\n<b>escaped</b>", ['rows' => 3]);See also: form/textarea