Textarea::make('Textarea')
->placeholder('Tell me a story')
->rows(3)
->required()
->rules('required|string')
// Livewire component
public string $textarea = '';
Blade view
<x-tall-textarea
:field="Textarea::blade('Large input', 'textarea')
->placeholder('Tell me a story')
->rows(3)"
/>
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.