Hi Patric Thanks for the feedback. I should have checked the JIRA first. It seems to be a know and old (almost a year!) bug: http://jira.magnolia-cms.com/browse/MAGNOLIA-3664
Unfortunately I don't have the time right now to dig into it and try to come up with a patch. All of you who have been bitten by it in the past go vote for it ;-) -will On 07.02.2012, at 09:31, Patric Dosch wrote: > Hey Will, > > exactly this problem, I stumbled on my last project as well. I'm looking > forward to the replies to the topic. > > Regards, Patric > > > -----Ursprüngliche Nachricht----- > Von: [email protected] > [mailto:[email protected]] Im Auftrag von Will Scheidegger > Gesendet: Montag, 6. Februar 2012 17:11 > An: Magnolia User-List > Betreff: [magnolia-user] multiselect control with saveMode list or json > working for anyone? > > Dear Magnolians > > I'm trying to use the multiselect control [1] on Magnolia CE 4.4.5 with the > "saveMode" set to something other than "multiple". However the if the > "saveMode" is not set either to "list" or "json" the "values" variable in the > save handler is null and the "valueStr" is empty ("")! Even worse: When set > to "json" the multiselect control will produce a JavaScript error unless you > manually add a nodedata to the node with the name set to the control name and > the value set to []. > > So: Is this saveMode feature working for anyone? Is it a bug? Or is it just > me? > > Thanks for the feedback. > > -will > > > [1] http://documentation.magnolia-cms.com/reference/controls.html#multiselect > > > ---------------------------------------------------------------- > 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]> > ---------------------------------------------------------------- > > > > ---------------------------------------------------------------- > 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]> > ---------------------------------------------------------------- > ---------------------------------------------------------------- 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]> ----------------------------------------------------------------
