FilamentF
Filament8mo ago
Mohmd

Delete Item in Repeater

Hi All,

When I tried to implement deletable in my Repeater, I wanted to make a condition if this item's addable_id is 1, return false; other wise return true. I did this, but it is not working for me

->deletable(fn (array $state): ?string => $addable_id['name'] == 1 ?? false),

Anu help please
Was this page helpful?