Select (q-select) @new-value not triggering on mobile
-
I am developing a cordova mobile application and I am stuck with the q-select not triggering @new-value event on the mobile app. Documentation states that it listens for key enter event but on mobile I am not sure how it will trigger. I have a form with q-select and other inputs. What I want is that when someone enters new value in q-select and go to next input the @new-value should trigger but this is not happening. Maybe someone from the community can help me.
<template> <div class="q-pa-md"> <q-select filled v-model="model" use-input use-chips multiple input-debounce="0" @new-value="createValue" :options="filterOptions" @filter="filterFn" style="width: 250px" /> </div> </template>
-
Does your code work as expected in the browser in SPA mode?
Documentation states that it listens for key enter event but on mobile I am not sure how it will trigger.
I don’t read that explicitly in the q-select documentation for @new-value …
What I want is that when someone enters new value in q-select and go to next input the @new-value should trigger but this is not happening.
Is this really what you want? Because I interpreted this as follows:
If the'next'
input component getsfocus
, check if the the q-select has anew
value and thendo_something/fire an event
.