@fy-/fws-vue 2.2.60 → 2.2.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -257,25 +257,6 @@ function handleKeyNavigation(e: KeyboardEvent, index: number) {
|
|
|
257
257
|
|
|
258
258
|
<template>
|
|
259
259
|
<div class="space-y-2 w-full">
|
|
260
|
-
<!-- Optional label with help text -->
|
|
261
|
-
<div v-if="label" class="flex items-center flex-wrap gap-1">
|
|
262
|
-
<label
|
|
263
|
-
:id="`label_tags_${id}`"
|
|
264
|
-
:for="`tags_${id}`"
|
|
265
|
-
class="block text-sm font-medium dark:text-white"
|
|
266
|
-
>
|
|
267
|
-
{{ label }}
|
|
268
|
-
</label>
|
|
269
|
-
<!-- Optional help text -->
|
|
270
|
-
<span
|
|
271
|
-
v-if="help"
|
|
272
|
-
:id="`help_tags_${id}`"
|
|
273
|
-
class="text-xs text-fv-neutral-500 dark:text-fv-neutral-300"
|
|
274
|
-
>
|
|
275
|
-
{{ help }}
|
|
276
|
-
</span>
|
|
277
|
-
</div>
|
|
278
|
-
|
|
279
260
|
<div
|
|
280
261
|
ref="inputContainer"
|
|
281
262
|
class="tags-input"
|
|
@@ -346,12 +327,19 @@ function handleKeyNavigation(e: KeyboardEvent, index: number) {
|
|
|
346
327
|
@paste.prevent="handlePaste"
|
|
347
328
|
/>
|
|
348
329
|
</div>
|
|
349
|
-
|
|
350
|
-
|
|
330
|
+
<div v-if="label" class="flex items-center flex-wrap gap-1">
|
|
331
|
+
<span
|
|
332
|
+
v-if="help"
|
|
333
|
+
:id="`help_tags_${id}`"
|
|
334
|
+
class="text-xs text-fv-neutral-500 dark:text-fv-neutral-300"
|
|
335
|
+
>
|
|
336
|
+
{{ help }}
|
|
337
|
+
</span>
|
|
338
|
+
<!-- Tag counter when maxTags is set -->
|
|
339
|
+
</div>
|
|
351
340
|
<div v-if="maxTags > 0" class="tag-counter">
|
|
352
341
|
<span>{{ model.length }}/{{ maxTags }}</span>
|
|
353
342
|
</div>
|
|
354
|
-
|
|
355
343
|
<!-- Inline error display if needed -->
|
|
356
344
|
<p
|
|
357
345
|
v-if="$props.error"
|