Commit c982bae0 by Damien Moulard

adherent admin: household count at 1 minimum

parent ce44d2c1
...@@ -274,7 +274,7 @@ class AdherentAdmin extends AbstractAdmin ...@@ -274,7 +274,7 @@ class AdherentAdmin extends AbstractAdmin
->add('householdCount',IntegerType::class, [ ->add('householdCount',IntegerType::class, [
'label' => "Nombre total de personnes que vous souhaitez engager dans l'expérimentation", 'label' => "Nombre total de personnes que vous souhaitez engager dans l'expérimentation",
'constraints' => [ 'constraints' => [
new GreaterThanOrEqual(['value' => 0]), new GreaterThanOrEqual(['value' => 1]),
], ],
'required' => true, 'required' => true,
'disabled' => $disableHouseholdAllowanceFields, 'disabled' => $disableHouseholdAllowanceFields,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment