0👍
@change
is better used to be triggered just when the user acts. Seems like you need call callProc
before user’s action.
You can just call this method after fetch data from database (or inside created()
hook if you can). Then v-on:change
will be triggered if user actually changes the value.
Source:stackexchange.com