pivotData issue
what am I missing i get this error? Method Filament\Forms\Components\Select::pivotData does not exist.
2 Replies
did you try to update the Filament version?
doing it now I see that it is missing
ok I upgraded but the ->pivotData([
'is_suitable' => true,
]), is not working: debugbar:select distinct
diets
.* from diets
left join diet_recipe
on diets
.id
= diet_recipe
.diet_id
where diets
.id
in ('1', '2', '3', '4', '5')
ok works now
I do not get all the options in the preload from the diet_recipe table