Json column casted as array searchable in filament admin panel

Hey, Do you know how I can make a text column searchable in filament if it's a json column casted as an array in the model. The arrays look like this: [ "value1", "value2", "value3", "etc" ] What I tried but it seems to not work: Tables\Columns\TextColumn::make('persons')->label('Persons') ->searchable() ->listWithLineBreaks() ->limitList(2) ->expandableLimitedList(), This method is not working, 0 results. Thanks!
2 Replies
2l30926048
2l30926048OP13mo ago
Any ideas ?
danzzz
danzzz11mo ago
have the same question 😄

Did you find this page helpful?