diff --git a/Configuration/Yaml/FormSetup.yaml b/Configuration/Yaml/FormSetup.yaml index 900b375..3ca3b62 100644 --- a/Configuration/Yaml/FormSetup.yaml +++ b/Configuration/Yaml/FormSetup.yaml @@ -29,7 +29,7 @@ TYPO3: identifier: 'enabled' templateName: 'Inspector-TextEditor' label: 'finisher.Brevo.field.enable' - propertyPath: 'options.enabled' + propertyPath: 'options.renderingOptions.enabled' enableFormelementSelectionButton: true propertyValidators: 10: 'NotEmpty' @@ -83,7 +83,8 @@ TYPO3: label: 'finisher.Brevo.label' predefinedDefaults: options: - enabled: '' + renderingOptions: + enabled: '' firstName: '' lastName: '' email: '' diff --git a/Resources/Private/Example/brevo-example.form.yaml b/Resources/Private/Example/brevo-example.form.yaml index 7766f21..bbf5cd8 100644 --- a/Resources/Private/Example/brevo-example.form.yaml +++ b/Resources/Private/Example/brevo-example.form.yaml @@ -7,8 +7,6 @@ label: brevo prototypeName: standard finishers: - - renderingOptions: - enabled: '{checkbox-1}' options: firstName: '{text-1}' lastName: '{text-3}' @@ -17,7 +15,8 @@ finishers: additionalListIds: '{multicheckbox-1}' additionalAttributes: salutation: '{salutation}' - + renderingOptions: + enabled: '{checkbox-1}' # override global settings # doiTemplateId: '14' # defaultListIds: '12,34'