Merge pull request #7003 from coollabsio/andrasbacsai/fix-domains-input-fqdn

fix: resolve Livewire wire:model binding error in domains input
This commit is contained in:
Andras Bacsai 2025-10-25 10:19:51 +02:00 committed by GitHub
commit 7ed0b00375
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -90,12 +90,12 @@
@if ($application->build_pack !== 'dockercompose')
<div class="flex items-end gap-2">
@if ($application->settings->is_container_label_readonly_enabled == false)
<x-forms.input placeholder="https://coolify.io" wire:model="application.fqdn"
<x-forms.input placeholder="https://coolify.io" wire:model="fqdn"
label="Domains" readonly
helper="Readonly labels are disabled. You can set the domains in the labels section."
x-bind:disabled="!canUpdate" />
@else
<x-forms.input placeholder="https://coolify.io" wire:model="application.fqdn"
<x-forms.input placeholder="https://coolify.io" wire:model="fqdn"
label="Domains"
helper="You can specify one domain with path or more with comma. You can specify a port to bind the domain to.<br><br><span class='text-helper'>Example</span><br>- http://app.coolify.io,https://cloud.coolify.io/dashboard<br>- http://app.coolify.io/api/v3<br>- http://app.coolify.io:3000 -> app.coolify.io will point to port 3000 inside the container. "
x-bind:disabled="!canUpdate" />