Skip to content

Commit

Permalink
add pin code edit
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiritin committed Sep 16, 2024
1 parent af21568 commit 5ae56a9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/Filament/Resources/UserResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ public static function form(Form $form): Form
->required(),
Forms\Components\Toggle::make('is_admin')
->required(),
Forms\Components\Toggle::make('is_cashier')
->required(),
// pin_code 6 digits
Forms\Components\TextInput::make('pin_code')
->required()
->minLength(6)
->maxLength(6),

]);
}

Expand Down

0 comments on commit 5ae56a9

Please sign in to comment.