From a2651ab3c1bc62298066e62e1ab17eef64228f44 Mon Sep 17 00:00:00 2001 From: ayntk-ai <122374094+ayntk-ai@users.noreply.github.com> Date: Wed, 28 Aug 2024 13:38:37 +0200 Subject: [PATCH] reset modal on cancel, fix back button when there is no prior step --- .../components/modal-confirmation.blade.php | 57 +++++++++++++++---- 1 file changed, 47 insertions(+), 10 deletions(-) diff --git a/resources/views/components/modal-confirmation.blade.php b/resources/views/components/modal-confirmation.blade.php index dcd14c0d2..658ca9df4 100644 --- a/resources/views/components/modal-confirmation.blade.php +++ b/resources/views/components/modal-confirmation.blade.php @@ -17,6 +17,7 @@
+}" @keydown.escape.window="modalOpen = false; resetModal()" :class="{ 'z-40': modalOpen }" class="relative w-auto h-auto"> @if ($customButton) @if ($buttonFullWidth) @@ -76,12 +83,31 @@ @endif @endif