From 1fd1aaabf494872500822079cfb63f8191407bff Mon Sep 17 00:00:00 2001 From: Lukas Eichenauer Date: Sun, 8 Dec 2024 15:54:42 +0100 Subject: [PATCH] fix: resolve undefined searchInput reference in Alpine.js component The searchInput reference was not accessible due to nested x-data scopes. Moved sticky logic into searchResources() to ensure proper reference access. --- resources/views/livewire/project/new/select.blade.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/views/livewire/project/new/select.blade.php b/resources/views/livewire/project/new/select.blade.php index 323191bfd..54a2e953e 100644 --- a/resources/views/livewire/project/new/select.blade.php +++ b/resources/views/livewire/project/new/select.blade.php @@ -12,7 +12,7 @@
Deploy resources, like Applications, Databases, Services...
@if ($current_step === 'type') -
+
@@ -137,6 +137,7 @@ return { search: '', loading: false, + isSticky: false, services: [], gitBasedApplications: [], dockerBasedApplications: [],