From 7bedf1b5b8ff5b91f4f0d6c6994f2d8be817f63b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Tue, 1 Oct 2024 16:03:53 +0200 Subject: [PATCH] Add some doc for PickUserDynamicType --- .../ChillMainBundle/Form/Type/PickUserDynamicType.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Bundle/ChillMainBundle/Form/Type/PickUserDynamicType.php b/src/Bundle/ChillMainBundle/Form/Type/PickUserDynamicType.php index aab9d4c51..2d6c5972a 100644 --- a/src/Bundle/ChillMainBundle/Form/Type/PickUserDynamicType.php +++ b/src/Bundle/ChillMainBundle/Form/Type/PickUserDynamicType.php @@ -24,6 +24,13 @@ use Symfony\Component\Serializer\SerializerInterface; /** * Pick user dymically, using vuejs module "AddPerson". + * + * Possible options: + * + * - `multiple`: pick one or more users + * - `suggested`: a list of suggested users + * - `as_id`: only the id will be set in the returned data + * - `submit_on_adding_new_entity`: the browser will immediately submit the form when new users are checked */ class PickUserDynamicType extends AbstractType {