diff --git a/.changes/unreleased/Feature-20250108-161841.yaml b/.changes/unreleased/Feature-20250108-161841.yaml new file mode 100644 index 000000000..9074782dc --- /dev/null +++ b/.changes/unreleased/Feature-20250108-161841.yaml @@ -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: "" diff --git a/src/Bundle/ChillMainBundle/Form/NewsItemType.php b/src/Bundle/ChillMainBundle/Form/NewsItemType.php index b6a93a0a0..6fe513055 100644 --- a/src/Bundle/ChillMainBundle/Form/NewsItemType.php +++ b/src/Bundle/ChillMainBundle/Form/NewsItemType.php @@ -29,6 +29,7 @@ class NewsItemType extends AbstractType ]) ->add('content', ChillTextareaType::class, [ 'required' => false, + 'empty_data' => '', ]) ->add( 'startDate',