@fy-/fws-vue 2.3.93 → 2.3.95

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.
@@ -378,7 +378,7 @@ onMounted(async () => {
378
378
  "
379
379
  :error="fieldsError[field.name]"
380
380
  :type="field.type"
381
- :req="responseReq.includes(field.name)"
381
+ :req="responseReq ? responseReq.includes(field.name) : false"
382
382
  :autocomplete="autocompleteValue(field.name)"
383
383
  />
384
384
  </template>
@@ -393,7 +393,7 @@ onMounted(async () => {
393
393
  :label="field.label"
394
394
  :error="fieldsError[field.name]"
395
395
  :type="field.type"
396
- :req="responseReq.includes(field.name)"
396
+ :req="responseReq ? responseReq.includes(field.name) : false"
397
397
  :link-icon="field.link"
398
398
  />
399
399
  </template>
@@ -434,7 +434,7 @@ onMounted(async () => {
434
434
 
435
435
  <!-- Password recovery link -->
436
436
  <div
437
- v-if="responseReq.includes('password') && response?.data?.user"
437
+ v-if="responseReq ? responseReq.includes('password') && response?.data?.user : false"
438
438
  class="text-right my-2"
439
439
  >
440
440
  <button
@@ -279,7 +279,7 @@ defineExpose({ focus, blur, getInputRef })
279
279
  >
280
280
  {{ label }}
281
281
  </label>
282
- <div class="grow-wrap">
282
+ <div class="grow-wrap" :data-replicated-value="model?.toString() || ''">
283
283
  <!-- @vue-skip -->
284
284
  <textarea
285
285
  :id="id"
@@ -342,7 +342,7 @@ defineExpose({ focus, blur, getInputRef })
342
342
  rounded-lg border border-fv-neutral-300 focus:ring-2 focus:ring-fv-primary-300 focus:border-fv-primary-500
343
343
  dark:bg-fv-neutral-700 dark:border-fv-neutral-600 dark:placeholder-fv-neutral-300
344
344
  dark:text-white dark:focus:ring-fv-primary-800 dark:focus:border-fv-primary-500
345
- transition-colors duration-200 shadow-sm min-h-[100px]"
345
+ transition-colors duration-200 shadow-sm min-h-[100px] max-h-[50vh] overflow-y-auto"
346
346
  @focus="handleFocus"
347
347
  @blur="handleBlur"
348
348
  />
@@ -563,7 +563,8 @@ input[type="range"]:focus::-moz-range-thumb {
563
563
  }
564
564
  .grow-wrap > textarea {
565
565
  resize: none;
566
- overflow: hidden;
566
+ overflow-y: auto;
567
+ max-height: 50vh;
567
568
  }
568
569
  .grow-wrap > textarea,
569
570
  .grow-wrap::after {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "2.3.93",
3
+ "version": "2.3.95",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/fy-to/FWJS#readme",