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

View File

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