File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
resources/views/components Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -151,9 +151,9 @@ class="relative w-auto h-auto">
151
151
@endif
152
152
@endif
153
153
<template x-teleport =" body" >
154
- <div x-show =" modalOpen" @click .away = " modalOpen = false; resetModal() "
154
+ <div x-show =" modalOpen"
155
155
class =" fixed top-0 lg:pt-10 left-0 z-[99] flex items-start justify-center w-screen h-screen" x-cloak >
156
- <div x-show =" modalOpen" @click = " modalOpen = false; resetModal() "
156
+ <div x-show =" modalOpen"
157
157
class =" absolute inset-0 w-full h-full bg-black bg-opacity-20 backdrop-blur-sm" ></div >
158
158
<div x-show =" modalOpen" x-trap.inert.noscroll =" modalOpen" x-transition:enter =" ease-out duration-100"
159
159
x-transition:enter-start =" opacity-0 -translate-y-2 sm:scale-95"
@@ -222,7 +222,7 @@ class="flex absolute top-2 right-2 justify-center items-center w-8 h-8 rounded-f
222
222
</template >
223
223
@endforeach
224
224
</ul >
225
- @if ($confirmWithText )
225
+ @if ($confirmWithText && $confirmationText )
226
226
<div class =" mb-4" >
227
227
<h4 class =" mb-2 text-lg font-semibold" >Confirm Actions</h4 >
228
228
<p class =" mb-2 text-sm" >{{ $confirmationLabel } } </p >
@@ -309,7 +309,7 @@ class="w-24 dark:bg-coolgray-200 dark:hover:bg-coolgray-300">
309
309
</template >
310
310
311
311
<template x-if =" step === 2" >
312
- <x-forms .button x-bind:disabled =" confirmWithText && userConfirmationText !== confirmationText"
312
+ <x-forms .button x-bind:disabled =" confirmationText !== '' && confirmWithText && userConfirmationText !== confirmationText"
313
313
class =" w-auto" isError
314
314
@click ="
315
315
if (dispatchEvent) {
You can’t perform that action at this time.
0 commit comments