Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio committed Dec 22, 2023
1 parent de3b928 commit 06e0807
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 84 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,10 @@ protected function getSteps(): array
->label(__('field.cnp'))
->nullable()
->rule(new ValidCNP)
->disabled()
->hidden()
->lazy(),
]),
])
->afterValidation(function ($state, Step $component) {
if (! $state['cnp']) {
return;
}

dd($state, \func_get_args());
}),
]),

Step::make('beneficiary')
->label(__('beneficiary.wizard.beneficiary.label'))
Expand Down
2 changes: 1 addition & 1 deletion app/Providers/Filament/AdminPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function panel(Panel $panel): Panel
->collapsibleNavigationGroups(false)
->login(Pages\Auth\Login::class)
->colors([
'primary' => Color::Indigo,
'primary' => Color::Amber,
])
->maxContentWidth('full')
->viteTheme('resources/css/filament/common/theme.css')
Expand Down
Loading

0 comments on commit 06e0807

Please sign in to comment.