mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-01 03:31:58 +00:00
[Electron] Fix path validation on typing in input box (#1708)
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
v-model="installPath"
|
v-model="installPath"
|
||||||
class="w-full"
|
class="w-full"
|
||||||
:class="{ 'p-invalid': pathError }"
|
:class="{ 'p-invalid': pathError }"
|
||||||
@change="validatePath"
|
@update:modelValue="validatePath"
|
||||||
/>
|
/>
|
||||||
<InputIcon
|
<InputIcon
|
||||||
class="pi pi-info-circle"
|
class="pi pi-info-circle"
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
placeholder="Select existing ComfyUI installation (optional)"
|
placeholder="Select existing ComfyUI installation (optional)"
|
||||||
class="flex-1"
|
class="flex-1"
|
||||||
:class="{ 'p-invalid': pathError }"
|
:class="{ 'p-invalid': pathError }"
|
||||||
@change="validateSource"
|
@update:modelValue="validateSource"
|
||||||
/>
|
/>
|
||||||
<Button icon="pi pi-folder" @click="browsePath" class="w-12" />
|
<Button icon="pi pi-folder" @click="browsePath" class="w-12" />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user