Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-10767

make disable-condition available on repeater fields

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.4.1, 4.5.0
    • 4.4.0
    • None
    • None
    • 4.5 M1

      When a disable condition is defined on a field in a repeater, it is not used.

      It should be possible to enable/disable a field in a repeater.

       

      Example :

      <cms:repeater name="myRepeater" initial-size="0">
       <cms:label i18n="false">Test Repeater</cms:label>
       <cms:description i18n="false">Test Repeater</cms:description>
       <cms:add-label i18n="false">Add</cms:add-label>
       <cms:del-label i18n="false">Del</cms:del-label>
       
       <cms:metadata name="myField" type="string">
       <cms:label i18n="false">Test Field</cms:label>
       <cms:description i18n="false">Test Field</cms:description>
       <disable-conditions>
       <condition id="conditionField" operator="neq">true</condition>
       </disable-conditions>
       </cms:metadata>
      </cms:metadata>
      
      
      

            ggouin Guillaume Gouin
            pgros Pierre Gros (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: