From ce2b95910a2c49a9da97224b10bf1df9342609d2 Mon Sep 17 00:00:00 2001 From: David Keller Date: Thu, 19 Dec 2019 15:37:02 +0100 Subject: [PATCH] EZP-31238: marked alternative image text as optional to ensure consistence with fieldtype --- lib/Form/Type/FieldType/ImageFieldType.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Form/Type/FieldType/ImageFieldType.php b/lib/Form/Type/FieldType/ImageFieldType.php index 039398f2c..452b5d8df 100644 --- a/lib/Form/Type/FieldType/ImageFieldType.php +++ b/lib/Form/Type/FieldType/ImageFieldType.php @@ -38,6 +38,7 @@ public function buildForm(FormBuilderInterface $builder, array $options) TextType::class, [ 'label' => /** @Desc("Alternative text") */ 'content.field_type.ezimage.alternative_text', + 'required' => false, ] ); }