98343[FEATURE] Allow disabling finishers in the form editor
Commit message
Finishers are already skipped at runtime when "renderingOptions.enabled" is false, but the form editor offered no way to set this option. A new inspector editor "Inspector-CollectionElementEnableToggleEditor" adds a button next to the remove button in the finisher header. It toggles "renderingOptions.enabled", and disabled finishers are marked with a badge. Because the editor declares its propertyPath, the server side form definition validation accepts the property. The editor is configured for all finishers shipped with EXT:form, and custom finishers can add it in their form editor configuration.
Resolves: #111725 Related: #97491 Releases: main Change-Id: I55c2f04e920298a385a8cf38786cc7a7b3b578cc
Test this change
Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch
- Check out patch set 2
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/43/98343/2 && git checkout FETCH_HEAD
- Cherry-pick onto main
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/43/98343/2 && git cherry-pick FETCH_HEAD
Review
-
Code review CR 0 Needs a vote
-
Verified V -1 Blocked
- core-ci -1 CI
Merge conflicts 11
- 93046[FEATURE] Add inspector editor registry to ext:form
- 94093[FEATURE] Use translation domains for form backend labels
- 96357[FEATURE] Attach static files to form emails
- 93838[FEATURE] Translate forms in the backend
- 94964[!!!][TASK] Remove the extension list import from EM
- 87873[BUGFIX] Name dropdown toggles and open them natively
- 97550[TASK] Deprecate language key "default" in TypoScript _LOCAL_LANG
- 94503[WIP][TASK] Save finishers in dedicated table
- 93558[POC][FEATURE] form <3 tca
- 93398[WIP][!!!][FEATURE] Synchronise extension YAML form definitions into database
- 93206[WIP][TASK] Use strict typing for EXT:form helper methods
Show 6 more changes Show less
Issues 2
Files 13
- Build/Sources/TypeScript/form/backend/form-editor/inspector-component.ts+91 −18
- Build/tests/playwright/e2e/form/form-editor-finishers.spec.tsnew+52 −0
- Build/tests/playwright/fixtures/BackendEnvironment.csv+1 −0
- typo3/sysext/core/Documentation/Changelog/15.0/Feature-111725-DisableAndEnableFinishersInTheFormEditor.rstnew+53 −0
- typo3/sysext/form/Configuration/Form/Base/FormElements/Form.yaml+32 −0
- typo3/sysext/form/Configuration/Form/Base/config.yaml+1 −0
- typo3/sysext/form/Documentation/I/Concepts/Finishers/CustomFinisherImplementations/_codesnippets/_backend-ui.yaml+5 −0
- typo3/sysext/form/Documentation/I/Config/proto/formEditor/Index.rst+1 −0
- typo3/sysext/form/Documentation/I/Config/proto/formElements/formEditor/inspectorEditors/CollectionElementEnableToggleEditor.rstnew+81 −0
- typo3/sysext/form/Documentation/I/Config/proto/formElements/formEditor/Index.rst+1 −0
- typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/CollectionElementEnableToggleEditor.fluid.htmlnew+16 −0
- typo3/sysext/form/Resources/Private/Language/Database.xlf+9 −0
- typo3/sysext/form/Resources/Public/JavaScript/backend/form-editor/inspector-component.js+1 −1
Review log 25
-
Josua Vogel uploaded patch set 1 12/04/26, 19:08
-
Josua Vogel uploaded patch set 2 12/04/26, 19:15
-
core-ci voted on patch set 1 V -1 12/04/26, 19:20 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/116357
-
core-ci voted on patch set 2 V -1 12/04/26, 19:29 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/116358
-
core-ci commented on patch set 2 12/04/26, 19:53 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/116358