© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
3 replies
Soundmit

Multi line text in modalDescription

hi, i have a modal with this code
->modalDescription(fn (Repair $record) => __('customer.quote_description',['quote' => $record->calculateQuote($record).app(InvoiceSettings::class)->currency. ($record->customer->customer_type == 'Business' ? __('invoice.vat') : ''), 'item' => $record->item->name, 'brand' => $record->brand->name, 'model' => $record->item->model, 'serial_number' => $record->serial_number, 'repair_note' => $record->repair_note, 'diagnosis' => $record->diagnosis]))
->modalDescription(fn (Repair $record) => __('customer.quote_description',['quote' => $record->calculateQuote($record).app(InvoiceSettings::class)->currency. ($record->customer->customer_type == 'Business' ? __('invoice.vat') : ''), 'item' => $record->item->name, 'brand' => $record->brand->name, 'model' => $record->item->model, 'serial_number' => $record->serial_number, 'repair_note' => $record->repair_note, 'diagnosis' => $record->diagnosis]))

it works but i need repair_note and diagnosis in new lines.
is it possible? html tags are not converted.
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

New line in `modalDescription`
FilamentFFilament / ❓┊help
2y ago
How can I make a multi-line tooltip?
FilamentFFilament / ❓┊help
7mo ago
Line breaks in TextEntry
FilamentFFilament / ❓┊help
10mo ago
Edit in line - List
FilamentFFilament / ❓┊help
3y ago