F
Filament15mo ago
daisy21

Custom color on checkbox option

need to target the span class
No description
Solution:
->label(new HtmlString('<span class="text-sm font-medium leading-4 text-danger-700">LABEL STRING</span>'))
->label(new HtmlString('<span class="text-sm font-medium leading-4 text-danger-700">LABEL STRING</span>'))
...
Jump to solution
2 Replies
daisy21
daisy21OP14mo ago
using extraAttributes doesnt work incase someone needs it i end up making label using htmlString
Solution
daisy21
daisy2114mo ago
->label(new HtmlString('<span class="text-sm font-medium leading-4 text-danger-700">LABEL STRING</span>'))
->label(new HtmlString('<span class="text-sm font-medium leading-4 text-danger-700">LABEL STRING</span>'))
Want results from more Discord servers?
Add your server