Skip to content

Commit

Permalink
Merge pull request #12360 from malzariey/fix_completed_icon_to_step
Browse files Browse the repository at this point in the history
Add completed icon retrieval in wizard component
  • Loading branch information
danharrin authored Apr 16, 2024
2 parents 172e256 + 94c46a7 commit c694537
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/forms/resources/views/components/wizard.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ class="fi-fo-wizard-header-step-icon-ctn flex h-10 w-10 shrink-0 items-center ju
getStepIndex(step) < {{ $loop->index }},
}"
>
@php
$completedIcon = $step->getCompletedIcon();
@endphp

<x-filament::icon
:alias="filled($completedIcon) ? null : 'forms::components.wizard.completed-step'"
:icon="$completedIcon ?? 'heroicon-o-check'"
Expand Down

0 comments on commit c694537

Please sign in to comment.