From 07a8e094aa0166624417ba0ae23303bce6b4af6b Mon Sep 17 00:00:00 2001 From: Mark Chaney Date: Fri, 27 Feb 2026 14:20:34 -0500 Subject: [PATCH] Move Livewire component registration from boot() to register() The Livewire::component() call in boot() registers the component too late in the Filament plugin lifecycle. In Livewire v4.2.0, internal timing changes exposed this latent issue, causing "Unable to find component: [quick-create-menu]" errors. The register() method runs during service provider registration, which is the correct phase for Livewire component registration. This matches the pattern used in the awcodes/recently plugin. --- src/QuickCreatePlugin.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/QuickCreatePlugin.php b/src/QuickCreatePlugin.php index 538d4f4..9e1527c 100644 --- a/src/QuickCreatePlugin.php +++ b/src/QuickCreatePlugin.php @@ -68,7 +68,6 @@ public static function make(): static public function boot(Panel $panel): void { - Livewire::component('quick-create-menu', Components\QuickCreateMenu::class); $this->getResourcesUsing(fn (): array => $panel->getResources()); } @@ -175,6 +174,8 @@ public function isRounded(): bool public function register(Panel $panel): void { + Livewire::component('quick-create-menu', Components\QuickCreateMenu::class); + $panel ->renderHook( name: $this->getRenderHook(),