Project

General

Profile

Bug #99479

Updated by Philipp Hanebrink almost 2 years ago

*Description:* 
 h3. Description:  
 If I collapse a single item in a flexform container the fields are used as preview for the collapsed item.    If I collapse items with the 'Toggle all' button, the preview is not rendered. It seems like the 'Toggle all' button only collapses and expands the items without the preview-logic of the single item collapse feature. 

 *What h3. What I would Expect:* Expect: 
 I would expect the content preview to be rendered if the items are collapsed with the 'Toggle all' button. 

 *Example h3. Example (animated gif):* gif): 
 !flexform-preview.gif! 

 *Code h3. Code Snippet of Flexform:* Flexform: 
 <pre> 
 <?xml version="1.0" encoding="utf-8"?> 
 <T3DataStructure> 
     <meta> 
         <langDisable>1</langDisable> 
     </meta> 
     <ROOT> 
         <type>array</type> 
         <el> 

             <linklist> 
                 <section>1</section> 
                 <type>array</type> 
                 <el> 
                     <container> 
                         <title>Add Link</title> 
                         <type>array</type> 
                         <el> 
                             <title> 
                                 <TCEforms> 
                                     <label>Title</label> 
                                     <config> 
                                         <type>input</type> 
                                         <eval>trim</eval> 
                                     </config> 
                                 </TCEforms> 
                             </title> 
                             <link> 
                                 <TCEforms> 
                                     <label>Link</label> 
                                     <config> 
                                         <type>input</type> 
                                         <renderType>inputLink</renderType> 
                                         <fieldControl> 
                                             <linkPopup> 
                                                 <options> 
                                                     <blindLinkFields>class,params,title</blindLinkFields> 
                                                     <blindLinkOptions>folder</blindLinkOptions> 
                                                 </options> 
                                             </linkPopup> 
                                         </fieldControl> 
                                     </config> 
                                 </TCEforms> 
                             </link> 
                         </el> 
                     </container> 
                 </el> 
             </linklist> 
         </el> 
     </ROOT> 
 </T3DataStructure> 
 </pre>

Back