FilamentF
Filament10mo ago
ffffer.

Repeater with pivot table

Hi, I have a problem with a pivot table:

Forms\Components\Repeater::make('config') ->reactive() ->columnSpanFull() ->label('Balance') ->schema([ Tables\Columns\TextColumn::make('field') ]) ->columns(3),

ERROR: foreach() argument must be of type array|object, string given

config is a json column, how could I change from json to array?

Thanks
Was this page helpful?