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
LeandroFerreira2mo ago
new HtmlString('selectedResources.length > 0') ?