Hi.
I created a wrapper component around an f7-input
bound to an autocomplete instance (created on the mounted
hook).
This is its html:
<template>
<f7-input type="text" :value="value" :input-id="id" @input="$emit('input',$event)">
</template>
Please note the re-emitter for the input event.
It works correctly for each input event, but it also emits an event on the input focus; this event is not even an InputEvent
instance, it’s just random.
So when i use my wrapper component autocomplete-maps
like this:
<autocomplete-maps @input="log('input ac', $event)"></autocomplete-maps>
You can see in the following screenshot that the first event logged is not a real input event. In fact, it is just me clicking on the input and giving it focus.
Is this the intended behaviour?
have a nice day