Merge branch 'improve_news_item_admin_form' into 'master'

Improve ux news item admin form

See merge request Chill-Projet/chill-bundles!779
This commit is contained in:
Julien Fastré 2025-01-27 10:59:51 +00:00
commit 9e3431f397
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,5 @@
kind: Feature
body: Improve the UX of the news item admin form to prevent wrong usage
time: 2025-01-08T16:18:41.769719298+01:00
custom:
Issue: ""

View File

@ -29,6 +29,7 @@ class NewsItemType extends AbstractType
]) ])
->add('content', ChillTextareaType::class, [ ->add('content', ChillTextareaType::class, [
'required' => false, 'required' => false,
'empty_data' => '',
]) ])
->add( ->add(
'startDate', 'startDate',