Added a seperate field for specifying the other relation

This commit is contained in:
Jan Böhmer 2023-11-14 23:35:18 +01:00
parent 5bd2d9b344
commit c7892cb9e2
3 changed files with 24 additions and 4 deletions

View file

@ -46,6 +46,9 @@ class PartAssociationType extends AbstractType
'choice_label' => fn(AssociationType $type) => $type->getTranslationKey(),
'help' => 'part_association.edit.type.help',
])
->add('other_type', TextType::class, [
'required' => false,
])
->add('comment', TextType::class, [
'required' => false,
'label' => 'part_association.edit.comment'