Prevent extraAttributes escaping

How to prevent greater than expression from being escaped?
Action::make('remove')
->extraAttributes([
'x-show' => 'selectedResources.length > 0',
])
Action::make('remove')
->extraAttributes([
'x-show' => 'selectedResources.length > 0',
])
No description
Solution:
new HtmlString('selectedResources.length > 0') ?...
Jump to solution
1 Reply
Solution
LeandroFerreira
LeandroFerreira5mo ago
new HtmlString('selectedResources.length > 0') ?
Want results from more Discord servers?
Add your server