[Electron] Fix path validation on typing in input box (#1708)

This commit is contained in:
Chenlei Hu
2024-11-26 11:26:46 -08:00
committed by GitHub
parent 3942603a38
commit dd1c878fdf
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@
v-model="installPath"
class="w-full"
:class="{ 'p-invalid': pathError }"
@change="validatePath"
@update:modelValue="validatePath"
/>
<InputIcon
class="pi pi-info-circle"

View File

@@ -16,7 +16,7 @@
placeholder="Select existing ComfyUI installation (optional)"
class="flex-1"
:class="{ 'p-invalid': pathError }"
@change="validateSource"
@update:modelValue="validateSource"
/>
<Button icon="pi pi-folder" @click="browsePath" class="w-12" />
</div>