forked from lubiana/futtern
#44: show item name on orderitem editform
This commit is contained in:
parent
25b73e7da5
commit
c324973d28
3 changed files with 49 additions and 6 deletions
|
@ -14,9 +14,7 @@ final class OrderItemType extends AbstractType
|
|||
public function buildForm(FormBuilderInterface $builder, array $options): void
|
||||
{
|
||||
$builder
|
||||
->add(child: 'name', options: [
|
||||
'data' => $options['name'] ?? '',
|
||||
])
|
||||
->add('name')
|
||||
->add('extras')
|
||||
->add('createdBy')
|
||||
;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue