Textarea

Textarea::make('Textarea')
->placeholder('Tell me a story')
->rows(3)
->required()
->rules('required|string')Blade view
Methods
->rows(int $rows)
Initial number of rows, the textarea is resizable.
->placeholder(string $placeholder)
Add a placeholder attribute to the textarea.
->required()
Add the required attribute to the textarea.
Last updated
Was this helpful?