timer description no mandatory

This commit is contained in:
2020-07-02 10:13:33 +02:00
parent 7b6e78f473
commit aefc645c02

View File

@@ -54,7 +54,8 @@ class TimerType extends AbstractType
$builder->add('description',
TextType::class, [
"label" => "Description"
"label" => "Description",
"required" => false
]
);
@@ -76,9 +77,6 @@ class TimerType extends AbstractType
]
);
$builder->addEventListener(
);
$builder->add('duration',
TimeType::class, [
"label" =>"Durée",