From 1eac26399fff2f1959b41ff4973f5e0190127b14 Mon Sep 17 00:00:00 2001 From: Ryan Prather Date: Tue, 10 Dec 2024 22:52:31 -0500 Subject: [PATCH] Add override level checkbox --- src/Form/UserCaseFormType.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Form/UserCaseFormType.php b/src/Form/UserCaseFormType.php index 7f121d8..1732913 100644 --- a/src/Form/UserCaseFormType.php +++ b/src/Form/UserCaseFormType.php @@ -6,6 +6,7 @@ use App\Entity\User; use App\Entity\UserCase; use Symfony\Bridge\Doctrine\Form\Type\EntityType; use Symfony\Component\Form\AbstractType; +use Symfony\Component\Form\Extension\Core\Type\CheckboxType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; @@ -18,6 +19,9 @@ class UserCaseFormType extends AbstractType 'class' => User::class, 'choice_label' => 'name', ]) + ->add('overrideLevel', CheckboxType::class, [ + 'mapped' => false + ]) ; }