mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Disable step button if previous action is disabled
This commit is contained in:
@@ -151,7 +151,7 @@
|
||||
type="button"
|
||||
x-bind:aria-current="getStepIndex(step) === {{ $loop->index }} ? 'step' : null"
|
||||
x-on:click="step = @js($step->getId())"
|
||||
x-bind:disabled="! isStepAccessible(@js($step->getId()))"
|
||||
x-bind:disabled="! isStepAccessible(@js($step->getId())) || @js($previousAction->isDisabled())"
|
||||
role="step"
|
||||
class="fi-fo-wizard-header-step-button flex h-full items-center gap-x-4 px-6 py-4 text-start"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user