Project

General

Profile

Bug #101768

Updated by Dennis Leibold about 1 year ago

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: 
 <pre> 
 type: Page 
 
     identifier: page-2 
 
     label: Second step 
 
     variants: 
   
       - 
     
         identifier: variant-2 
     
         condition: 'formValues["checkbox-1"] == 1' 
     
         renderingOptions: 
       
           enabled: false 
 </pre> 

 Fixed: 
 <pre> 
 type: Page 
 
     identifier: page-2 
 
     label: Second step 
 
     variants: 
   
       - 
     
         identifier: variant-2 
     
         condition: 'formValues && formValues["checkbox-1"] == 1' 
     
         renderingOptions: 
       
           enabled: false 
 </pre>

Back