diff --git a/src/Field/Configurator/ChoiceConfigurator.php b/src/Field/Configurator/ChoiceConfigurator.php index 301dd1dfd2..738b6d1295 100644 --- a/src/Field/Configurator/ChoiceConfigurator.php +++ b/src/Field/Configurator/ChoiceConfigurator.php @@ -78,6 +78,8 @@ public function configure(FieldDto $field, EntityDto $entityDto, AdminContext $c if ($areChoicesTranslatable && !$choicesSupportTranslatableInterface) { $field->setFormTypeOptionIfNotSet('choices', array_keys($choices)); $field->setFormTypeOptionIfNotSet('choice_label', static fn ($value) => $choices[$value]); + } elseif ($choicesSupportTranslatableInterface && $allChoicesAreEnums) { + $field->setFormTypeOptionIfNotSet('choices', array_values($choices)); } else { $field->setFormTypeOptionIfNotSet('choices', $choices); }