0👍
To really give a good answer, I think a bit more information might be required. That being said, it looks like you’re binding is incorrect. Your input line probably should be:
<input type="checkbox" :checked="checked" ...
So your checked
function shouldn’t have parens on it.
If that’s not the issue, please post the rest of your component so we can see the script and data values.
0👍
Agreed with @DRich here but you can use @input method to call a method
<select @input="onChange" ...
I use this most of the time
Source:stackexchange.com