bear with me, you don't need to watch the video, nor read the github project, just for completeness:
from the laracasts about vue js and form submit
<form @submit.prevent="doSubmit()" @keydown="form.errors.clear($event.target.name)">
this will clear the error of an element in case of "keydown" event. Now this won't work for <select> as users usually click or change for sure
so what I want to do is something like
<form @submit.prevent="doSubmit()" @keydown@change="form.errors.clear($event.target.name)">
but vue js does not seem to have syntax to do the same thing for multiple events
so only solution is:
<form @submit.prevent="doSubmit()" @change="form.errors.clear($event.target.name)" @keydown="form.errors.clear($event.target.name)">
I repeat the question:
how to do the same thing for 2 different events?
@scroll@click any 2 events
the actual solution to my problem is secondary
@click@change=".."that way you are sure at a glance it is the same, if it is not the same, it should be called like in the last example