Skip to content

Commit

Permalink
Remove URL validation from form type
Browse files Browse the repository at this point in the history
  • Loading branch information
kuzmany committed Aug 27, 2018
1 parent a4bc113 commit 72ce9af
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\Translation\TranslatorInterface;
use Symfony\Component\Validator\Constraints\NotBlank;
use Symfony\Component\Validator\Constraints\Url;

/**
* Class CampaignEventRemoteUrlType.
Expand Down Expand Up @@ -54,11 +53,6 @@ public function buildForm(FormBuilderInterface $builder, array $options)
'attr' => ['class' => 'form-control'],
'required' => true,
'constraints' => [
new Url(
[
'message' => 'mautic.form.submission.url.invalid',
]
),
new NotBlank(
[
'message' => 'mautic.core.value.required',
Expand Down

0 comments on commit 72ce9af

Please sign in to comment.