fix form avec expanded

This commit is contained in:
Tinka 2025-03-31 14:32:31 +02:00
parent bb35ba61c6
commit eba77e220d
3 changed files with 6 additions and 1 deletions

View File

@ -25,15 +25,17 @@ class CommandesType extends AbstractType
'class' => Clients::class,
'choice_label' => 'id',
'multiple' => true,
'expanded' => true,
])
->add('plats', EntityType::class, [
'class' => Plats::class,
'choice_label' => 'id',
'multiple' => true,
'expanded' => true,
])
->add('StatutCommande', EntityType::class, [
'class' => StatutCommandes::class,
'choice_label' => 'id',
'choice_label' => 'libelle',
])
;
}

View File

@ -27,6 +27,7 @@ class ReservationsType extends AbstractType
'class' => Utilisateurs::class,
'choice_label' => 'id',
'multiple' => true,
'expanded' => true,
])
;
}

View File

@ -19,11 +19,13 @@ class TablesType extends AbstractType
'class' => Clients::class,
'choice_label' => 'id',
'multiple' => true,
'expanded' => true,
])
->add('utilisateurs', EntityType::class, [
'class' => Utilisateurs::class,
'choice_label' => 'id',
'multiple' => true,
'expanded' => true,
])
;
}