@fy-/fws-vue 1.2.3 → 1.2.4

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.
@@ -6,7 +6,7 @@ import { useUserStore } from "../../stores/user";
6
6
  import { useRest } from "../../composables/rest";
7
7
  import { useEventBus } from "../../composables/event-bus";
8
8
  import { computed, reactive, watchEffect, ref } from "vue";
9
- import { required } from "@vuelidate/validators";
9
+ import { required, maxLength } from "@vuelidate/validators";
10
10
  import VuePictureCropper, { cropper } from "vue-picture-cropper";
11
11
  import { Uploader } from "@fy-/fws-js";
12
12
 
@@ -62,7 +62,9 @@ const rules = {
62
62
  required: required,
63
63
  },
64
64
  Gender: {},
65
- Bio: {},
65
+ Bio: {
66
+ maxLength: maxLength(800),
67
+ },
66
68
  Birthdate: {},
67
69
  PublicGender: {},
68
70
  PublicBio: {},
@@ -234,7 +236,7 @@ function selectFile(e: Event) {
234
236
  id="bioFWS"
235
237
  v-model="state.userData.Bio"
236
238
  class="mb-4"
237
- type="text"
239
+ type="textarea"
238
240
  :label="$t('fws_bio_label')"
239
241
  :error-vuelidate="v$.userData.Bio.$errors"
240
242
  />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "repository": {