Repeater addable

In the repeater there is an addable function which you can use to decide if the user can add new items. It is possible to pass a closure. So I tried this: ->addable(fn (Get $get) => $get('../../sent')) However this returns null. When i log 'Get' I get a get object with in it the Repeater object. How can I actually obtain the value of the parent row?
1 Reply
JJSanders
JJSanders6mo ago
So I found the solution:
->addable(fn ($record) => ! $record->sent)
->addable(fn ($record) => ! $record->sent)