temporarily lifted scope validation, currently no scopes in select list to be selected

This commit is contained in:
Julie Lenaerts 2021-10-01 10:49:07 +02:00
parent 6a34046e93
commit 548247188f
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,6 @@ abstract class AbstractTask implements HasScopeInterface, HasCenterInterface
* @ORM\ManyToOne(
* targetEntity="\Chill\MainBundle\Entity\Scope"
* )
* @Assert\NotNull()
*/
private $circle;

View File

@ -51,7 +51,8 @@ class SingleTaskType extends AbstractType
])
->add('circle', ScopePickerType::class, [
'center' => $options['center'],
'role' => $options['role']
'role' => $options['role'],
'required' => false
])
->add('startDate', ChillDateType::class, [
'required' => false