conditionally disable <x-filament::icon-button>

I've tried doing something like

<x-filament::icon-button disabled="{{ $myTest === true ? 'disabled' : ''}}" />

and

<x-filament::icon-button disabled="{{ $myTest === true ? 'true' : ''}}" />

can't seem to figure out the right combination.
Solution
<x-filament::icon-button :disabled="$myTest" />

?
Was this page helpful?