0👍
✅
@change.native="handleChange"
did the trick for me. Also I cleaned up all the event handlers listening on child. Since my type
and placeholder
properties were passing down as such, so should be the event listeners. With that thought the .native modifier works best for now. Although things could have been uniform by just @change=”handleChange” which I was trying earlier and lead to trying out passing function as props to child.
IMP NOTE – Vuejs doesn’t treats @change as normal onChange. @input is preferred if the idea is to capture every keystroke. Here comes the opinions! 🙂
Source:stackexchange.com