Skip to content

Commit

Permalink
[143] Make middle name not required on signup
Browse files Browse the repository at this point in the history
  • Loading branch information
Gwildor committed Mar 10, 2024
1 parent 466fa78 commit 7ef38ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Form/MembershipApplicationType.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function buildForm(FormBuilderInterface $builder, array $options)
$builder->add('firstName', null, ['label' => 'Voornaam', 'error_bubbling' => true, 'constraints' => [new NotBlank()]]);

if ($options['use_middle_name']) {
$builder->add('middleName', null, ['label' => 'Tussenvoegsel', 'error_bubbling' => true]);
$builder->add('middleName', null, ['label' => 'Tussenvoegsel', 'error_bubbling' => true, 'required' => false]);
}

$builder
Expand Down

0 comments on commit 7ef38ef

Please sign in to comment.