feat: body dimensions optional
This commit is contained in:
@@ -60,6 +60,10 @@ class BodyDimensionsType extends AbstractType
|
||||
'height_required' => false,
|
||||
'weight_required' => false,
|
||||
'shoeSize_required' => false,
|
||||
'help' => 'Du kannst die Daten auch später nachreichen',
|
||||
'help_attr' => [
|
||||
'class' => 'lg:col-span-3 text-sm -mt-2 px-2',
|
||||
],
|
||||
]);
|
||||
|
||||
$resolver->setAllowedTypes('height_required', 'bool');
|
||||
|
||||
@@ -298,6 +298,9 @@ class ParticipantFieldOptionsProvider extends AbstractFieldOptionsProvider
|
||||
'maxlength' => 20,
|
||||
],
|
||||
'help' => 'Bitte gib das Kennzeichen deines Fahrzeugs an. Du kannst es aber auch später nachreichen.',
|
||||
'help_attr' => [
|
||||
'class' => 'text-sm px-2 mt-2',
|
||||
],
|
||||
'sanitize_html' => true,
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user