[ 
http://jira.magnolia-cms.com/browse/MGNLFORM-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Teresa Miyar updated MGNLFORM-135:
----------------------------------

    Description: 
The following lines in formSelector.ftl will fix the issue

{code}
 [#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]
{code}

  was:
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]



> Multiselect button does not keep the items selected when hitting the back 
> button
> --------------------------------------------------------------------------------
>
>                 Key: MGNLFORM-135
>                 URL: http://jira.magnolia-cms.com/browse/MGNLFORM-135
>             Project: Magnolia Form Module
>          Issue Type: Bug
>    Affects Versions: 1.4.3
>            Reporter: Teresa Miyar
>
> The following lines in formSelector.ftl will fix the issue
> {code}
>  [#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]
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to