From 063bb77e167a9a36c58b13181551d5ba31020848 Mon Sep 17 00:00:00 2001 From: MrYamous Date: Wed, 1 Oct 2025 18:41:49 +0200 Subject: [PATCH] fix: toggleDispatch do not dispatch the right event --- src/PowerGridComponent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PowerGridComponent.php b/src/PowerGridComponent.php index c0826af3d..4ecfb92f6 100644 --- a/src/PowerGridComponent.php +++ b/src/PowerGridComponent.php @@ -262,7 +262,7 @@ public function getPublicPropertiesDefinedInComponent(): array public function toggleDetail(string $rowId): void { - $this->dispatch('toggle-detail-'.$rowId, collapsed: null); + $this->dispatch('pg-toggle-detail-'.$this->tableName.'-'.$rowId, collapsed: null); } public function render(): Application|Factory|View