0👍
With VueJs:
data() {
return {
disabled: false
}
}
<button @click="submit" :disabled="disabled">Submit</button>
methods: {
submit() {
this.disabled = true;
}
}
Source:stackexchange.com
0👍
With VueJs:
data() {
return {
disabled: false
}
}
<button @click="submit" :disabled="disabled">Submit</button>
methods: {
submit() {
this.disabled = true;
}
}