#49: change order item form labels #50

Merged
lubiana merged 1 commit from #49_change-order-item-form-labels into main 2024-08-15 14:34:22 +00:00

View file

@ -14,9 +14,13 @@ final class OrderItemType extends AbstractType
public function buildForm(FormBuilderInterface $builder, array $options): void public function buildForm(FormBuilderInterface $builder, array $options): void
{ {
$builder $builder
->add('name') ->add(child: 'name', options: [
->add('extras') 'label' => 'order item',
->add('createdBy') ])
->add(child: 'extras')
->add(child: 'createdBy', options: [
'label' => 'your name',
])
; ;
} }