Search
Setup for Free
F
Filament
•
3y ago
F alko
HTML in tooltip for table columns
Is there a reason why some tooltips support HTML and other don
't
?
I need some line breaks in there
, and thought nl2br would be my best bet
.
.
Filament
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,348
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
P
Patrick Boivin
•
9/26/23, 8:45 PM
Can you share the code you
've been trying
?
C
ckangwei83
•
6/16/24, 4:42 PM
forwhoever needed this
, below method works for me
. it is not working when doing x
-tooltip
.html or x
-tooltip
.raw alone
. But somehow defined an empty x
-tooltip
.html will make the raw works with html
.
T
e
x
t
C
o
l
u
m
n
:
:make
(
'name
'
)
-
>html
(
)
-
>extraAttributes
(fn
(Model
$record
)
: Array
=
>
[
'x
-tooltip
.html
'
=
> new HtmlString
(
)
,
'x
-tooltip
.raw
'
=
> new HtmlString
(implode
(
'
<br
>
-
'
,
(
$record
-
>whatever
?
?
[
'
-
'
]
)
)
)
,
]
)
,
Similar Threads
tooltip table row
F
Filament / ❓┊help
2y ago
Moving columns in table
F
Filament / ❓┊help
11mo ago
Table columns
F
Filament / ❓┊help
16mo ago
Adding tooltip for each badge in a table column
F
Filament / ❓┊help
2y ago