mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-10 22:28:23 +00:00
fix behaviour of CalendarType in Controller and add field users to CalendarType
This commit is contained in:
@@ -129,6 +129,10 @@ class CalendarType extends AbstractType
|
||||
->addModelTransformer($this->partiesToIdDataTransformer);
|
||||
*/
|
||||
|
||||
$builder->add('users', HiddenType::class);
|
||||
$builder->get('users')
|
||||
->addModelTransformer($this->idToUsersDataTransformer);
|
||||
|
||||
$builder->add('calendarRange', HiddenType::class);
|
||||
$builder->get('calendarRange')
|
||||
->addModelTransformer($this->calendarRangeDataTransformer);
|
||||
|
||||
Reference in New Issue
Block a user