mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-03 06:54:34 +02:00
Changed logic of invisible to a (forced) visibility field
This commit is contained in:
parent
bc37d11f13
commit
7d69d6ba30
9 changed files with 37 additions and 29 deletions
|
@ -45,8 +45,9 @@ class EDACategoryInfoType extends AbstractType
|
|||
]
|
||||
]
|
||||
)
|
||||
->add('invisible', TriStateCheckboxType::class, [
|
||||
'label' => 'eda_info.invisible',
|
||||
->add('visibility', TriStateCheckboxType::class, [
|
||||
'help' => 'eda_info.visibility.help',
|
||||
'label' => 'eda_info.visibility',
|
||||
])
|
||||
->add('exclude_from_bom', TriStateCheckboxType::class, [
|
||||
'label' => 'eda_info.exclude_from_bom',
|
||||
|
|
|
@ -50,8 +50,9 @@ class EDAPartInfoType extends AbstractType
|
|||
'placeholder' => t('eda_info.value.placeholder'),
|
||||
]
|
||||
])
|
||||
->add('invisible', TriStateCheckboxType::class, [
|
||||
'label' => 'eda_info.invisible',
|
||||
->add('visibility', TriStateCheckboxType::class, [
|
||||
'help' => 'eda_info.visibility.help',
|
||||
'label' => 'eda_info.visibility',
|
||||
])
|
||||
->add('exclude_from_bom', TriStateCheckboxType::class, [
|
||||
'label' => 'eda_info.exclude_from_bom',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue