Allow HTML for tooltip content - Icon Button #14065
GamendeBrian
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
I'm using ->hintIcon('heroicon-m-information-circle', tooltip: 'html text'); and this also applies to hint.blade.php. Would be nice to support HTML in every tooltip by default. Thanks |
Beta Was this translation helpful? Give feedback.
0 replies
-
It would be great to have the tooltip render as HTML, but till then you can copy the hint.blade.php to resources\views\vendor\filament-forms\components\field-wrapper folder and modify it by adding allowHTML: true to the tooltip. This worked for me. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using the Icon Button blade component like so:
This currently doesn't seem to work because the tooltip options doesn't have the allow HTML option enabled.
This can be enabled like so:
x-tooltip.html="true"
Can this be added by default? Or add a prop like allowHtml?
If yes, can this also be done for other tooltip component etc?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions