Skip to content

Commit

Permalink
revert dehydrated
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentauger committed Dec 4, 2024
1 parent b328c06 commit 665c653
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Filament/Resources/UserResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public static function form(Form $form): Form
->schema([
Forms\Components\Toggle::make('active')
->label('Activate User')
->dehydrated(false)
->hidden(fn ($record) => $record && !$record->active)
->onColor('success'),
Forms\Components\Actions::make([
Expand Down

0 comments on commit 665c653

Please sign in to comment.