skip to Main Content

Javascript – v-bind equivalent of modelValue

I've got a myInput.vue component which accepts a v-model prop and captures the value of v-model as modelValue, like so: <template> <input type="text" :value="modelValue" /> </template> <script setup> const props = defineProps({ modelValue: { type: [String, null], required: true }…

VIEW QUESTION
Back To Top
Search