Merge conflict
Gerrit cannot merge this change. It needs a rebase onto main.
98355[FEATURE] Allow disabling validators in the form editor
Commit message
Validators are now skipped at runtime when "renderingOptions.enabled" is false, the option that already disables finishers. The enable toggle editor of the form editor is configured for every removable validator shipped with EXT:form, so editors can switch a validator off without losing its options.
Resolves: #111727 Related: #111725 Related: #97491 Releases: main Change-Id: I332e0df2b236b0a1163d77fa416b248c2a31bd7e
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 1
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/55/98355/1 && git checkout FETCH_HEAD
- Cherry-pick onto main
-
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/55/98355/1 && git cherry-pick FETCH_HEAD
Review
-
Code review CR 0 Needs a vote
-
Verified V 0 Needs a vote
- core-ci +1 CI
Relation chain 2
-
98355 [FEATURE] Allow disabling validators in the form editor This change
- 98343[FEATURE] Allow disabling finishers in the form editor
Issues 3
Files 25
- Build/Sources/TypeScript/form/backend/form-editor/inspector-component.ts+2 −1
- Build/tests/playwright/e2e/form/form-editor-validators.spec.tsnew+63 −0
- Build/tests/playwright/fixtures/BackendEnvironment.csv+1 −0
- typo3/sysext/core/Documentation/Changelog/15.0/Feature-111727-DisableAndEnableValidatorsInTheFormEditor.rstnew+54 −0
- typo3/sysext/form/Classes/Domain/Model/Renderable/AbstractRenderable.php+5 −0
- typo3/sysext/form/Configuration/Form/Base/FormElements/AdvancedPassword.yaml+32 −0
- typo3/sysext/form/Configuration/Form/Base/FormElements/Date.yaml+32 −0
- typo3/sysext/form/Configuration/Form/Base/FormElements/Email.yaml+28 −0
- typo3/sysext/form/Configuration/Form/Base/FormElements/FileUpload.yaml+8 −0
- typo3/sysext/form/Configuration/Form/Base/FormElements/Honeypot.yaml+32 −0
- typo3/sysext/form/Configuration/Form/Base/FormElements/ImageUpload.yaml+8 −0
- typo3/sysext/form/Configuration/Form/Base/FormElements/MultiCheckbox.yaml+4 −0
- typo3/sysext/form/Configuration/Form/Base/FormElements/MultiSelect.yaml+4 −0
- typo3/sysext/form/Configuration/Form/Base/FormElements/Number.yaml+28 −0
- typo3/sysext/form/Configuration/Form/Base/FormElements/Password.yaml+32 −0
- typo3/sysext/form/Configuration/Form/Base/FormElements/Telephone.yaml+32 −0
- typo3/sysext/form/Configuration/Form/Base/FormElements/Text.yaml+32 −0
- typo3/sysext/form/Configuration/Form/Base/FormElements/Textarea.yaml+32 −0
- typo3/sysext/form/Configuration/Form/Base/FormElements/Url.yaml+32 −0
- typo3/sysext/form/Documentation/I/Concepts/Validators/Index.rst+28 −0
- typo3/sysext/form/Documentation/I/Config/proto/formElements/formEditor/inspectorEditors/CollectionElementEnableToggleEditor.rst+10 −7
- typo3/sysext/form/Resources/Private/Backend/Partials/FormEditor/Inspector/CollectionElementEnableToggleEditor.fluid.html+4 −2
- typo3/sysext/form/Resources/Private/Language/Database.xlf+6 −0
- typo3/sysext/form/Resources/Public/JavaScript/backend/form-editor/inspector-component.js+1 −1
- typo3/sysext/form/Tests/Functional/Domain/Model/Renderable/AbstractRenderableTest.php+26 −0
Show 5 more files Show less
Review log 12
-
Josua Vogel uploaded patch set 1 12/05/26, 10:07
-
core-ci voted on patch set 1 V +1 12/05/26, 10:14 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/116429