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:Jump to 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...2 Replies
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@Lara Zeus that was it! Little oversight on my part. Thank you!