7๐
โ
You can use one method
<v-btn @click.stop="setDeleteDialog(offer.id)"
methods: {
setDeleteDialog (offerId) {
this.dialogDelete = true
this.deleteTemporaryId = offerId
}
}
๐คlatovic
12๐
You can use arrow function for @click.stop:
@click.stop="()=>{dialogDelete = true; deleteTemporaryId = offer.id}"
๐คdvnguyen
0๐
This is a bit old and perhaps not previously possible, but for anyone landing here now, this can be achieved without an arrow function, i.e.:
@click.stop="dialogDelete = true; deleteTemporaryId = offer.id"
๐คJaimerine
Source:stackexchange.com