F
Filament5mo ago
Groli

How to add custom html text or just insert HTML Entities inside hintIcon tooltip

Textarea::make('data')
->hintIcon('heroicon-m-question-mark-circle', tooltip: new HtmlString('Gender &rarr; M/Z, M/Ž, M/F<br>Birthday &rarr; DD. MM. RRRR, DD. MM., DDMM'))
...
Textarea::make('data')
->hintIcon('heroicon-m-question-mark-circle', tooltip: new HtmlString('Gender &rarr; M/Z, M/Ž, M/F<br>Birthday &rarr; DD. MM. RRRR, DD. MM., DDMM'))
...
I tried doing this but it just resulted in this but it was inserted as is in the string without applying those attributes...
1 Reply
Want results from more Discord servers?
Add your server