@input handler is not getting invoked if not used in conjunction with v-model
RichuJohn opened this issue · comments
I am trying to use your component inside a v-for on a list of objects, so that I can pass each object as objData prop into your component. Since I am using v-for, I cannot use v-model to track the change.
So I wanted to capture the 'input' event emitted when parsedData changes.
For some reason, the input event handler I have defined is not getting invoked when I am not using v-model. It doesn't work even if I am not using v-for, but a plain object.
Writing the code like this DOESN'T trigger treatChange method
Writing the code like this DOES trigger treatChange method (But I cannot use this since I need to use your component inside v-for)
Could you please look into this?