mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-19 22:09:37 +00:00
fix: satisfy knip checks for vee-validate migration
- remove stale @primeuix/forms knip ignore dependency - use FormDescription in password field requirements block Amp-Thread-ID: https://ampcode.com/threads/T-019c7e06-730d-729e-8602-1bc1dffe4801 Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
@@ -29,7 +29,6 @@ const config: KnipConfig = {
|
||||
// Weird importmap things
|
||||
'@iconify-json/lucide',
|
||||
'@iconify/json',
|
||||
'@primeuix/forms',
|
||||
'@primeuix/styled',
|
||||
'@primeuix/utils',
|
||||
'@primevue/icons'
|
||||
|
||||
@@ -20,7 +20,10 @@
|
||||
/>
|
||||
</FormControl>
|
||||
<div class="flex flex-col gap-1">
|
||||
<small v-if="meta.dirty || Boolean(errors.password)" class="text-sm">
|
||||
<FormDescription
|
||||
v-if="meta.dirty || Boolean(errors.password)"
|
||||
class="text-sm"
|
||||
>
|
||||
{{ t('validation.password.requirements') }}:
|
||||
<ul class="mt-1 space-y-1">
|
||||
<li
|
||||
@@ -59,7 +62,7 @@
|
||||
{{ t('validation.password.special') }}
|
||||
</li>
|
||||
</ul>
|
||||
</small>
|
||||
</FormDescription>
|
||||
</div>
|
||||
</FormItem>
|
||||
</FormField>
|
||||
@@ -95,6 +98,7 @@ import { useI18n } from 'vue-i18n'
|
||||
|
||||
import {
|
||||
FormControl,
|
||||
FormDescription,
|
||||
FormField,
|
||||
FormItem,
|
||||
FormLabel,
|
||||
|
||||
Reference in New Issue
Block a user