textarea() html()
A bare <textarea> (no form row); the value is escaped.
html()->textarea($name = '', $value = '', $extra = [])Опції
| Опція | Значення |
|---|---|
$name, $value | Name and text. |
id, class, rows, cols, placeholder, disabled, readonly, required | Attributes. |
Приклад
Код
return html()->textarea('input_name', "some value\n<b>escaped</b>", ['rows' => 3]);Див. також: form/textarea