From 887141c073eccdece87d403ac5251cc0304e7fd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Kr=C3=B3l?= Date: Tue, 21 May 2019 01:49:55 +0200 Subject: [PATCH] Ignore extra form fields --- src/Form/Type/AbstractFilterType.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Form/Type/AbstractFilterType.php b/src/Form/Type/AbstractFilterType.php index 69ab0cdd..95d18226 100644 --- a/src/Form/Type/AbstractFilterType.php +++ b/src/Form/Type/AbstractFilterType.php @@ -22,6 +22,7 @@ public function configureOptions(OptionsResolver $resolver): void $resolver->setDefaults([ 'data_class', null, 'csrf_protection' => false, + 'allow_extra_fields' => true, ]); }