mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-14 20:35:08 +02:00
Dont generate translation key for form input without visible label
This commit is contained in:
parent
89acfff857
commit
042f395edd
3 changed files with 389 additions and 384 deletions
|
@ -51,7 +51,10 @@ class PricedetailType extends AbstractType
|
|||
'html5' => true,
|
||||
'attr' => ['min' => 0, 'step' => 'any'],
|
||||
]);
|
||||
$builder->add('currency', CurrencyEntityType::class, ['required' => false]);
|
||||
$builder->add('currency', CurrencyEntityType::class, [
|
||||
'required' => false,
|
||||
'label' => false
|
||||
]);
|
||||
}
|
||||
|
||||
public function configureOptions(OptionsResolver $resolver)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue