Skip to content

Commit 7b2fe12

Browse files
authored
Merge pull request #14 from mareklibra/dynamicPluginParam
read params in both static and dynamic plugins
2 parents d882aa8 + 7e7cc6c commit 7b2fe12

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

plugins/custom-form-example-plugin/src/customApi.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ class CustomFormExtensionsApi implements OrchestratorFormApi {
7070
});
7171

7272
const countriesUrl =
73+
this.configApi.getOptionalString('dynamicPlugins.frontend.custom-form-example-plugin.countriesUrl') ||
7374
this.configApi.getOptionalString('custom-form-example-plugin.countriesUrl') ||
7475
'https://missing.countryUrl.in.config';
7576

0 commit comments

Comments
 (0)