Skip to content

Commit 8725486

Browse files
committed
Output content field name as an input label in collected info field form
1 parent 5cad46d commit 8725486

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bundle/Form/Type/FieldType/EnhancedSelectionFieldType.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
6060
'identifiers',
6161
ChoiceType::class,
6262
[
63+
'label' => $fieldDefinition->getName($languageCode),
6364
'choices' => $choices,
6465
'multiple' => $fieldDefinition->fieldSettings['isMultiple'],
6566
'expanded' => $fieldDefinition->fieldSettings['isExpanded'],

0 commit comments

Comments
 (0)