mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-06 11:09:29 +00:00
Allow the defaultSearchProviders option to be empty
This fixes issue #1032
This commit is contained in:
parent
c52126ccf8
commit
4b8ef4b0fa
1 changed files with 1 additions and 1 deletions
|
|
@ -40,6 +40,6 @@ class InfoProviderGeneralSettings
|
|||
*/
|
||||
#[SettingsParameter(type: ArrayType::class, label: new TM("settings.ips.default_providers"),
|
||||
description: new TM("settings.ips.default_providers.help"), options: ['type' => StringType::class],
|
||||
formType: ProviderSelectType::class, formOptions: ['input' => 'string'])]
|
||||
formType: ProviderSelectType::class, formOptions: ['input' => 'string', 'required' => false, 'empty_data' => []])]
|
||||
public array $defaultSearchProviders = [];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue