Skip to content

Commit

Permalink
feat(Meta): Add required false for meta fields
Browse files Browse the repository at this point in the history
  • Loading branch information
etienne-monsieurbiz committed Aug 23, 2024
1 parent fc425e8 commit d252939
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Form/Type/ArticleTranslationType.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,17 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
])
->add('metaTitle', TextType::class, [
'label' => 'monsieurbiz_blog.form.article.meta_title',
'required' => false,
'help' => 'monsieurbiz_blog.form.article.help.meta_title',
])
->add('metaDescription', TextType::class, [
'label' => 'monsieurbiz_blog.form.article.meta_description',
'required' => false,
'help' => 'monsieurbiz_blog.form.article.help.meta_description',
])
->add('metaKeywords', TextType::class, [
'label' => 'monsieurbiz_blog.form.article.meta_keywords',
'required' => false,
])
;
}
Expand Down

0 comments on commit d252939

Please sign in to comment.