update to Symfony 4.4 (#1275)
This commit is contained in:
@@ -36,7 +36,7 @@ class SearchTermType extends AbstractType
|
||||
'label' => 'search',
|
||||
'required' => false,
|
||||
'constraints' => [
|
||||
new Length(['min' => 3])
|
||||
new Length(['min' => 3, 'allowEmptyString' => true])
|
||||
],
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user