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
GitHub
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...
Was this page helpful?