Example of my child component code:
<div>
<label>Label</label>
<VTextField
:value="addOnLabel"
@input="$emit('update:addOnLabel', $event.target.value)"
solo
outline
reverse
type="text"
/>
</div>
props: {
addOnLabel: {},
},
My parent component structure is as follows:
<MultiplierDropDown :addOnLabel.sync="addOnLabel"/>
Issue Encountered: While inputting into the field, an error message appears -
Error in v-on handler: "TypeError: Cannot read property 'value' of undefined"