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
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...
Jump to solution
1 Reply
Solution
atyx17
atyx172y ago
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...

Did you find this page helpful?