phases one of time logged now with log display
This commit is contained in:
@@ -6,8 +6,7 @@
|
||||
$alpineSubmitHandler = $hasFormWrapper() ? $wizard->getAlpineSubmitHandler() : null;
|
||||
@endphp
|
||||
|
||||
<{{ filled($alpineSubmitHandler) ? 'form' : 'div' }}
|
||||
x-bind:tabindex="$el.querySelector('[autofocus]') ? '-1' : '0'"
|
||||
<{{ filled($alpineSubmitHandler) ? 'form' : 'div' }} x-bind:tabindex="$el.querySelector('[autofocus]') ? '-1' : '0'"
|
||||
x-bind:class="{
|
||||
'fi-active': step === @js($key),
|
||||
}"
|
||||
@@ -18,26 +17,20 @@
|
||||
|
||||
step = @js($key)
|
||||
"
|
||||
@if (filled($alpineSubmitHandler))
|
||||
x-on:submit.prevent="isLastStep() ? {!! $alpineSubmitHandler !!} : requestNextStep()"
|
||||
@endif
|
||||
x-cloak
|
||||
x-ref="step-{{ $key }}"
|
||||
{{
|
||||
$attributes
|
||||
->merge([
|
||||
@if (filled($alpineSubmitHandler)) x-on:submit.prevent="isLastStep() ? {!! $alpineSubmitHandler !!} : requestNextStep()" @endif
|
||||
x-cloak x-ref="step-{{ $key }}"
|
||||
{{ $attributes->merge(
|
||||
[
|
||||
'aria-labelledby' => $id,
|
||||
'id' => $id,
|
||||
'role' => 'tabpanel',
|
||||
], escape: false)
|
||||
->merge($getExtraAttributes(), escape: false)
|
||||
->class(['fi-sc-wizard-step'])
|
||||
}}
|
||||
>
|
||||
],
|
||||
escape: false,
|
||||
)->merge($getExtraAttributes(), escape: false)->class(['fi-sc-wizard-step']) }}>
|
||||
{{ $getChildSchema() }}
|
||||
|
||||
@if (filled($alpineSubmitHandler))
|
||||
{{-- This is a hack to allow the form to submit when the user presses the enter key, even if there is no other submit button in the form. --}}
|
||||
<input type="submit" hidden />
|
||||
@endif
|
||||
</{{ filled($alpineSubmitHandler) ? 'form' : 'div' }}>
|
||||
</{{ filled($alpineSubmitHandler) ? 'form' : 'div' }}>
|
||||
|
||||
Reference in New Issue
Block a user