Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
2.1.8
-
None
-
None
Description
Trying to render something like this:
<@s.radio name="x" list=
{'foo': 'bar'}/>
results in stringifications of freemarker.ext.beans.HashAdapter instead of the desired keys and values. Support for converting this to something that the radiomap.ftl could handle properly would be great.
Manual workaround available with hiding the forcibly generated label and appending another manually:
<style type="text/css"> .brokenMapBehaviourWorkaround label
{ display: none; } </style>
<div class="brokenMapBehaviourWorkaround"><@s.radio name="x" list=['foo'] /> bar</div>