Skip to content

Commit

Permalink
Merge pull request #29381 from tom-combet/blank-mobile-phone
Browse files Browse the repository at this point in the history
Allow blank value for mobile phone
  • Loading branch information
kpodemski committed Jan 13, 2023
2 parents 8abd8b8 + 02a2711 commit 84e08b1
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -417,6 +417,7 @@ public function buildForm(FormBuilderInterface $builder, array $options)
->add('phone_mobile', TextType::class, [
'label' => $this->trans('Mobile phone', 'Admin.Global'),
'required' => in_array('phone_mobile', $requiredFields, true),
'empty_data' => '',
'constraints' => [
new CleanHtml(),
new TypedRegex([
Expand Down

0 comments on commit 84e08b1

Please sign in to comment.