diff --git a/resources/js_vue3/components/formElements/FormField.vue b/resources/js_vue3/components/formElements/FormField.vue index e0321d7b..6edeb73b 100644 --- a/resources/js_vue3/components/formElements/FormField.vue +++ b/resources/js_vue3/components/formElements/FormField.vue @@ -59,7 +59,7 @@ :placeholder="placeholder" v-bind="$attrs" v-on:change="$emit('update:modelValue', $event.target.value)" - :maxlength="this.maxLength" + :maxlength="maxLength" /> diff --git a/resources/js_vue3/components/formElements/FormLockField.vue b/resources/js_vue3/components/formElements/FormLockField.vue index dab3cf86..382c68a4 100644 --- a/resources/js_vue3/components/formElements/FormLockField.vue +++ b/resources/js_vue3/components/formElements/FormLockField.vue @@ -72,7 +72,7 @@ :placeholder="placeholder" v-bind="$attrs" v-on:change="$emit('update:modelValue', $event.target.value)" - :maxlength="this.maxLength" + :maxlength="maxLength" />