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...
Jump to solution
2 Replies
Solution
Lara Zeus
Lara Zeus3w ago
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
sethbr11
sethbr11OP3w ago
@Lara Zeus that was it! Little oversight on my part. Thank you!

Did you find this page helpful?