Skip to content

Commit

Permalink
feat: make cnp optional (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio authored Nov 3, 2023
1 parent 55b26d6 commit 921454f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/Filament/Resources/VolunteerResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ public static function form(Form $form): Form
TextInput::make('cnp')
->label(__('volunteer.field.cnp'))
->rule(new ValidCNP)
->unique()
->required(),
->unique(),

Select::make('role')
->label(__('volunteer.field.role'))
Expand Down

0 comments on commit 921454f

Please sign in to comment.