Is there a way to use SelectFilter relationship with a json field?Ex name->en, name->fr etc
Actually the filter works with: ->relationship('product', 'name') but the options labels are jsons, i am looking for a solution ex ->relationship('product', 'name->en') or something like this
Solution:Jump to solution
added in the v3.0.28 release: https://github.com/filamentphp/filament/pull/7938
GitHub
add getOptionLabelFromRecord to SelectFilter by josefbehr · Pull Re...
SelectFilter was missing the getOptionLabelFromRecord method, that allows customizing the label on relationship selects
Changes have been thoroughly tested to not break existing functionality.
N...
1 Reply
Solution
added in the v3.0.28 release: https://github.com/filamentphp/filament/pull/7938
GitHub
add getOptionLabelFromRecord to SelectFilter by josefbehr · Pull Re...
SelectFilter was missing the getOptionLabelFromRecord method, that allows customizing the label on relationship selects
Changes have been thoroughly tested to not break existing functionality.
N...