Skip to content

Commit 4b8ef4b

Browse files
committed
Allow the defaultSearchProviders option to be empty
This fixes issue #1032
1 parent c52126c commit 4b8ef4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Settings/InfoProviderSystem/InfoProviderGeneralSettings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ class InfoProviderGeneralSettings
4040
*/
4141
#[SettingsParameter(type: ArrayType::class, label: new TM("settings.ips.default_providers"),
4242
description: new TM("settings.ips.default_providers.help"), options: ['type' => StringType::class],
43-
formType: ProviderSelectType::class, formOptions: ['input' => 'string'])]
43+
formType: ProviderSelectType::class, formOptions: ['input' => 'string', 'required' => false, 'empty_data' => []])]
4444
public array $defaultSearchProviders = [];
4545
}

0 commit comments

Comments
 (0)