Bug #86056
closedForm yaml predefinedDefaults renderingOptions are not being set at form creation
0%
Description
I have the following in my yaml configuration file
prototypes:
mautic:
formElementsDefinition:
Form:
renderingOptions:
partialRootPaths:
1486978514: 'EXT:marketing_automation_mautic/Resources/Private/Frontend/Partials'
formEditor:
predefinedDefaults:
renderingOptions:
mauticFormType: 'mautic_finisher_standalone_prototype'
However, when creating a form 'mauticFormType' is never set to the default value and is simply absent.
Updated by Ralf Zimmermann almost 6 years ago
- Assignee set to Jurian Janssen
TYPO3: CMS: Form: formManager: selectablePrototypesConfiguration: 200: identifier: 'test' label: 'test' newFormTemplates: 100: templatePath: 'EXT:form/Resources/Private/Backend/Templates/FormEditor/Yaml/NewForms/BlankForm.yaml' label: 'formManager.selectablePrototypesConfiguration.standard.newFormTemplates.blankForm.label' 200: templatePath: 'EXT:form/Resources/Private/Backend/Templates/FormEditor/Yaml/NewForms/SimpleContactForm.yaml' label: 'formManager.selectablePrototypesConfiguration.standard.newFormTemplates.simpleContactForm.label' prototypes: test: __inheritances: 10: 'TYPO3.CMS.Form.prototypes.standard' formElementsDefinition: Form: formEditor: predefinedDefaults: renderingOptions: mauticFormType: 'mautic_finisher_standalone_prototype'
Works for me with TYPO3 8.7.25-dev and TYPO3 9.5.5-dev.
Note that if you create a new form, the predefinedDefaults values are written after a klick on the save button.
If you want the renderingOptions... predefinedDefaults also be available directely after the form creation, you have to define a boilerplate form definition template (https://docs.typo3.org/typo3cms/extensions/form/Concepts/FormManager/Index.html#start-templates) or maybe you can set this values through a hook https://docs.typo3.org/typo3cms/extensions/form/ApiReference/Index.html?highlight=beforeformcreate#beforeformcreate
Updated by Susanne Moog over 5 years ago
- Status changed from New to Needs Feedback
- Sprint Focus deleted (
Remote Sprint)
Updated by Björn Jacob over 5 years ago
- Status changed from Needs Feedback to Closed
- Assignee deleted (
Jurian Janssen)
No feedback since 3 months. I am closing this issue. If you think this is the wrong decision, please open a new issue and give us more insights :) Thanks!