Skip to content
Snippets Groups Projects
Commit 79dafa22 authored by Julian's avatar Julian
Browse files

Cancel editing if clicked on cancel button or outside of dialog

parent 9b46183e
No related branches found
No related tags found
No related merge requests found
......@@ -63,6 +63,7 @@ export default {
<v-dialog
v-model="dialog"
max-width="600px"
@click:outside="cancelDialog"
>
<template v-slot:activator="{ on, attrs }">
<div>
......@@ -104,11 +105,11 @@ export default {
<v-card-actions>
<v-spacer></v-spacer>
<v-btn
color="blue darken-1"
text
@click="dialog = false"
color="error"
outlined
@click="cancelDialog"
>
Close
Cancel
</v-btn>
<v-btn
color="blue darken-1"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment