mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-02-02 11:39:19 +01:00
Replace change event by input event in input fields components - Fixes #273
This commit is contained in:
parent
98f711800d
commit
b9abcb3d18
@ -58,7 +58,7 @@
|
|||||||
:value="modelValue"
|
:value="modelValue"
|
||||||
:placeholder="placeholder"
|
:placeholder="placeholder"
|
||||||
v-bind="$attrs"
|
v-bind="$attrs"
|
||||||
v-on:change="$emit('update:modelValue', $event.target.value)"
|
v-on:input="$emit('update:modelValue', $event.target.value)"
|
||||||
:maxlength="maxLength"
|
:maxlength="maxLength"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -71,7 +71,7 @@
|
|||||||
:value="modelValue"
|
:value="modelValue"
|
||||||
:placeholder="placeholder"
|
:placeholder="placeholder"
|
||||||
v-bind="$attrs"
|
v-bind="$attrs"
|
||||||
v-on:change="$emit('update:modelValue', $event.target.value)"
|
v-on:input="$emit('update:modelValue', $event.target.value)"
|
||||||
:maxlength="maxLength"
|
:maxlength="maxLength"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user