Fields
Textarea
Textarea takes longer plain text, with a set height and a length limit.
use Xelqun\Forms\Components\Textarea;
Textarea::make('notes')->rows(6)->maxLength(2000);
| Method | What it does |
|---|---|
rows() |
The height, in lines. |
maxLength() |
The most characters allowed. It's checked on the server too. |
For formatted text, use the rich editor or the Markdown editor.