Any idea how to add a third row?

In the documentation there is a method called "description" but I need another row πŸ‘€ I need something like this πŸ‘‡
Solution:
You could probably just add a line break by returning an HtmlString ... ```php TextColumn::make('foo') ->description(fn (Model $record): string => new HtmlString($record->thing1 . '<br>' . $record->thing2)),...
Jump to solution
3 Replies
Solution
cheesegrits
cheesegritsβ€’16mo ago
You could probably just add a line break by returning an HtmlString ...
TextColumn::make('foo')
->description(fn (Model $record): string => new HtmlString($record->thing1 . '<br>' . $record->thing2)),
TextColumn::make('foo')
->description(fn (Model $record): string => new HtmlString($record->thing1 . '<br>' . $record->thing2)),
krekas
krekasβ€’16mo ago
or using htmlstring add them in <div> this way you will be able to style them if needed
Miguel Bonifaz (Zilver)
Miguel Bonifaz (Zilver)OPβ€’16mo ago
Works perfectly, thanks πŸ‘Œ
Want results from more Discord servers?
Add your server