JSON-Field in SelectFilter
Hey everyone,
i have a select filter and i want to display options from a relationship, but the complicated thing is that the column has json-attributes and i do not know how to display the json-attributes in the relationship function. Currently it looks like this, but does not work:
SelectFilter::make('company')
->label('Firma')
->relationship('subscriber', 'extra_attributes.company'),
Thanks.
0 Replies