Any way to change the way the options for the TrashedFilter display?

Instead of them saying "deleted", I want to replace the words with "disabled". I've been able to replace the main label for the filter pretty easily, but I'm not sure what the values for the options are already, and any attempt to just reassign the values of ->options have been unsuccessful so far. I'd prefer to not have to remake it all if possible
Solution
the
TrashedFilter
extends the
TernaryFilter
, so you can use
trueLabel
and other methods

https://filamentphp.com/docs/3.x/tables/filters/ternary#customizing-the-ternary-filter-option-labels
Was this page helpful?