Skip to content

Commit

Permalink
feat: make user's contribution group required
Browse files Browse the repository at this point in the history
  • Loading branch information
sWalbrun committed Feb 7, 2024
1 parent 1121943 commit 3a9e8dc
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 @@ -50,6 +50,7 @@ public static function form(Form $form): Form
->label(trans('E-Mail')),
Forms\Components\Select::make(User::COL_CONTRIBUTION_GROUP)
->label(trans('Contribution group'))
->required()
->options(ForFilamentTranslator::enum(EnumContributionGroup::getInstances())),
Forms\Components\Select::make(User::COL_PAYMENT_INTERVAL)
->translateLabel()
Expand Down

0 comments on commit 3a9e8dc

Please sign in to comment.