mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
Fixed exception when parameter constraint unit field is empty
This commit is contained in:
parent
ddbf8b7725
commit
bdcf3b71ce
1 changed files with 3 additions and 1 deletions
|
@ -50,10 +50,12 @@ class ParameterConstraintType extends AbstractType
|
|||
|
||||
$builder->add('unit', SearchType::class, [
|
||||
'required' => false,
|
||||
'empty_data' => '',
|
||||
]);
|
||||
|
||||
$builder->add('symbol', SearchType::class, [
|
||||
'required' => false
|
||||
'required' => false,
|
||||
'empty_data' => '',
|
||||
]);
|
||||
|
||||
$builder->add('value_text', TextConstraintType::class, [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue