0👍
Another option is to use the @input
or @change
event on the input to enable the button.
<input type="text" v-bind:value="dino" @input="enableButton" />
Then down in your methods handle the event. You could also pass dino
as a parameter to the @input
event handler.
enableButton: function(e) {
// determine input from e and toggle button
}
Source:stackexchange.com