skip to Main Content

Javascript – Vue3 @input function not getting called on autocomplete text input field

I have this code snippet in a Vue3 component: <v-row v-for="(target, targetIndex) in targetModules" :key="targetIndex" > <v-autocomplete v-model="targetModules[targetIndex]['modulName']" :items="moduleNamesAndEcts.map(module => module.name)" :rules="rules.text" label="Module" item-text="name" item-value="name" @input="(newModuleName) => updateEcts(newModuleName, targetIndex)" /> </v-row> The function is: const updateEcts = (newModuleName, targetIndex) =>…

VIEW QUESTION
Back To Top
Search