Uploaded image for project: 'Magnolia Form Module'
  1. Magnolia Form Module
  2. MGNLFORM-135

Multiselect button does not keep the items selected when hitting the back button

XMLWordPrintable

      The following lines in formSelector.ftl will fix the issue

       [#assign value=model.value!]
       [#if value?contains("__")]
           [#assign multiValues=value?split("__")]
           [#list multiValues as multiValue]
               [#if multiValue == data[1]!data[0] ]
                   [#assign selected="selected=\"selected\""]
                   [#break]
               [/#if]
           [/#list]
       [#elseif value == data[1]!data[0] ]
           [#assign checked="checked=\"checked\""]
       [/#if]
      

        Acceptance criteria

              Unassigned Unassigned
              tmiyar Teresa Miyar
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD