Skip to content

Commit

Permalink
Close dialog on button click
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Jan 19, 2024
1 parent aece85c commit 0b0c6ec
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions doc/dialog/BasicDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<InputText id="Email" class="flex-auto" />
</div>
<div class="flex justify-content-end gap-2">
<Button type="button" label="Cancel" severity="secondary"></Button>
<Button type="button" label="Save"></Button>
<Button type="button" label="Cancel" severity="secondary" @click="visible = false"></Button>
<Button type="button" label="Save" @click="visible = false"></Button>
</div>
</Dialog>
</div>
Expand All @@ -44,8 +44,8 @@ export default {
<InputText id="Email" class="flex-auto" />
</div>
<div class="flex justify-content-end gap-2">
<Button type="button" label="Cancel" severity="secondary"></Button>
<Button type="button" label="Save"></Button>
<Button type="button" label="Cancel" severity="secondary" @click="visible = false"></Button>
<Button type="button" label="Save" @click="visible = false"></Button>
</div>
</Dialog>
`,
Expand All @@ -64,8 +64,8 @@ export default {
<InputText id="Email" class="flex-auto" />
</div>
<div class="flex justify-content-end gap-2">
<Button type="button" label="Cancel" severity="secondary"></Button>
<Button type="button" label="Save"></Button>
<Button type="button" label="Cancel" severity="secondary" @click="visible = false"></Button>
<Button type="button" label="Save" @click="visible = false"></Button>
</div>
</Dialog>
</div>
Expand Down Expand Up @@ -96,8 +96,8 @@ export default {
<InputText id="Email" class="flex-auto" />
</div>
<div class="flex justify-content-end gap-2">
<Button type="button" label="Cancel" severity="secondary"></Button>
<Button type="button" label="Save"></Button>
<Button type="button" label="Cancel" severity="secondary" @click="visible = false"></Button>
<Button type="button" label="Save" @click="visible = false"></Button>
</div>
</Dialog>
</div>
Expand Down

0 comments on commit 0b0c6ec

Please sign in to comment.