Skip to content

Commit

Permalink
Output content field name as an input label in collected info field form
Browse files Browse the repository at this point in the history
  • Loading branch information
hknezevic committed Jan 22, 2025
1 parent 5cad46d commit 1d7de0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bundle/Form/Type/FieldType/EnhancedSelectionFieldType.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
'identifiers',
ChoiceType::class,
[
'label'=> $fieldDefinition->getName($languageCode),
'choices' => $choices,
'multiple' => $fieldDefinition->fieldSettings['isMultiple'],
'expanded' => $fieldDefinition->fieldSettings['isExpanded'],
Expand Down

0 comments on commit 1d7de0d

Please sign in to comment.