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

Details

    Description

      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]
      

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD