diff --git a/packages/forms/resources/views/components/wizard.blade.php b/packages/forms/resources/views/components/wizard.blade.php index 31baa81ae44..48204ea6af4 100644 --- a/packages/forms/resources/views/components/wizard.blade.php +++ b/packages/forms/resources/views/components/wizard.blade.php @@ -1,6 +1,8 @@ @php $isContained = $isContained(); $statePath = $getStatePath(); + $previousAction = $getAction('previous'); + $nextAction = $getAction('next'); @endphp
! $isContained, ]) > - - {{ $getAction('previous') }} + isDisabled()) + x-on:click="previousStep" + @endif + x-show="! isFirstStep()" + > + {{ $previousAction }} @@ -272,16 +280,16 @@ class="h-full w-full text-gray-200 dark:text-white/5 rtl:rotate-180" - {{ $getAction('next') }} + {{ $nextAction }}