Fix props set using deprecated This object

This commit is contained in:
Bubka 2023-11-24 14:39:59 +01:00
parent af38c01f0f
commit bdd8c38c20
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@
:placeholder="placeholder"
v-bind="$attrs"
v-on:change="$emit('update:modelValue', $event.target.value)"
:maxlength="this.maxLength"
:maxlength="maxLength"
/>
</div>
<FieldError v-if="fieldError != undefined" :error="fieldError" :field="fieldName" />

View File

@ -72,7 +72,7 @@
:placeholder="placeholder"
v-bind="$attrs"
v-on:change="$emit('update:modelValue', $event.target.value)"
:maxlength="this.maxLength"
:maxlength="maxLength"
/>
</div>
<UseColorMode v-slot="{ mode }" v-if="isEditMode">