@fy-/fws-vue 2.3.72 → 2.3.74

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.
@@ -35,6 +35,7 @@ const props = withDefaults(
35
35
  copyButton?: boolean
36
36
  maxRange?: number
37
37
  minRange?: number
38
+ maxTags?: number
38
39
  }>(),
39
40
  {
40
41
  showLabel: true,
@@ -262,6 +263,7 @@ defineExpose({ focus, blur, getInputRef })
262
263
  :disabled="disabled"
263
264
  :color="color"
264
265
  :error="checkErrors"
266
+ :max-tags="maxTags"
265
267
  :copy-button="copyButton"
266
268
  :help="help"
267
269
  :max-lenght-per-tag="maxLengthPerTag"
@@ -389,8 +389,8 @@ function handleKeyNavigation(e: KeyboardEvent, index: number) {
389
389
  <div class="flex items-center justify-between mt-2">
390
390
  <!-- Tag counter -->
391
391
  <div class="tag-counter">
392
- <span v-if="maxLenghtPerTag > 0">
393
- {{ model.length }}/{{ maxLenghtPerTag }} tag{{ model.length !== 1 ? 's' : '' }}
392
+ <span v-if="maxTags > 0">
393
+ {{ model.length }}/{{ maxTags }} tag{{ model.length !== 1 ? 's' : '' }}
394
394
  </span>
395
395
  <span v-else>
396
396
  {{ model.length }} tag{{ model.length !== 1 ? 's' : '' }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "2.3.72",
3
+ "version": "2.3.74",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/fy-to/FWJS#readme",