$get() scope for Repeater actions
Hello,
I'm trying to customize a Repeater's DeleteAction through the deleteAction() method, and I'm using a closure to configure the $action:
the debug output suggests the $get is scoped to the parent, not the repeater item (which I understand only happens inside the repeater schema itself):
Is there a workaround, if not an intended method, to access the repeater item fields inside the deleteAction() closure? I would like the deletion to only ask for confirmation if a specific required field within the repeater has been filled.
I have also tried injecting the $get in the first closure and invoking it in the second closure without parameters
0 Replies