Actions
Bug #101768
closedTYPO3 Form - Page Variant Condition
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2023-08-28
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Bug in the description of cms-form
Page: https://docs.typo3.org/c/typo3/cms-form/main/en-us/I/Concepts/Variants/Index.html#hide-steps
Variant conditions for page types must have an additional condition, if formValues are checked. Else the condition will fail because the array key is not set yet.
Before:
type: Page identifier: page-2 label: Second step variants: - identifier: variant-2 condition: 'formValues["checkbox-1"] == 1' renderingOptions: enabled: false
Fixed:
type: Page identifier: page-2 label: Second step variants: - identifier: variant-2 condition: 'formValues && formValues["checkbox-1"] == 1' renderingOptions: enabled: false
Actions