An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: remove wire:ignore from modal and add wire:key to EditCompose component
Andras Bacsai28fc3feab00d
diff --git a/resources/views/components/modal-input.blade.php b/resources/views/components/modal-input.blade.phpindex b031740cab..b8f5825889 100644--- a/resources/views/components/modal-input.blade.php+++ b/resources/views/components/modal-input.blade.php@@ -13,7 +13,7 @@<div x-data="{ modalOpen: false }"x-init="$watch('modalOpen', value => { if (!value) { $wire.dispatch('modalClosed') } })":class="{ 'z-40': modalOpen }" @keydown.window.escape="modalOpen=false"- class="relative w-auto h-auto" wire:ignore>+ class="relative w-auto h-auto">@if ($content)<div @click="modalOpen=true">{{ $content }}diff --git a/resources/views/livewire/project/service/stack-form.blade.php b/resources/views/livewire/project/service/stack-form.blade.phpindex 5a8a3e420e..ed38cda16f 100644--- a/resources/views/livewire/project/service/stack-form.blade.php+++ b/resources/views/livewire/project/service/stack-form.blade.php@@ -8,7 +8,7 @@<x-forms.button canGate="update" :canResource="$service" wire:target='submit' type="submit">Save</x-forms.button>@can('update', $service)<x-modal-input buttonTitle="Edit Compose File" title="Edit Docker Compose" :closeOutside="false">- <livewire:project.service.edit-compose serviceId="{{ $service->id }}" />+ <livewire:project.service.edit-compose :key="'edit-compose-'.$service->id" serviceId="{{ $service->id }}" /></x-modal-input>@endcan</div>