mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 08:18:08 +00:00
fix(forms): prevent reparsing partial numeric hosts
This commit is contained in:
1 parent
76030a30d4
commit
0824c91aca
2 files changed
+17
-1
No files matched your search
@@ -39,7 +39,11 @@
|
||||
const path = this.path.trim();
|
||||
const normalizedPath = path && !['/', '?', '#'].includes(path[0]) ? `/${path}` : path;
|
||||
const next = `${this.scheme}://${this.host.trim()}${this.port ? `:${this.port}` : ''}${normalizedPath}`;
|
||||
if (this.value !== next) this.value = next;
|
||||
if (this.value !== next) {
|
||||
this.syncing = true;
|
||||
this.value = next;
|
||||
this.$nextTick(() => this.syncing = false);
|
||||
}
|
||||
},
|
||||
}" x-modelable="value" {{ $attributes->whereStartsWith('x-model') }}>
|
||||
<div class="min-w-0">
|
||||
|
||||
Reference in new issue
Block a user