F
Filamentβ€’6mo ago
2l30926048

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
2l30926048β€’6mo ago
Any ideas ?
danzzz
danzzzβ€’4mo ago
have the same question πŸ˜„