© 2026 Hedgehog Software, LLC
protected function setUp(): void { parent::setUp(); $this->registerListeners([ 'repeater::deleteItem' => [ function (Component $component, string $statePath, string $uuidToDelete): void { if ($component->isDisabled()) { return; } if ($statePath !== $component->getStatePath()) { return; } // Delete item with UUID `$uuidToDelete` }, ], ]); }