I think that your problem is the use of '{ }' characters inside the attributes, had you try to pass the data as a variable reference? --- var choicesData = [{someDataHere: '...'}, {}, {}]; --- ---html <dropdown-field choices="{choicesData}" name="status"></dropdown-field> ---
Thank you for reply. But I try to use server side rendering from Python Mako templates. Something like --- drop_down_tag(choices=json.dumps(choices)) ---
Hi again, on that case you maybe interested on change the default riot curly braces --- riot.settings.brackets = '${ }' riot.settings.brackets = '\{\{ }}' --- so, you it don't have incompatibilities with the json data
I think that brackets aren't a solution ... maybe you can mount the tag with --- riot.mount('dom', 'tag-name', {your data here}) --- or get the mounted tag via: --- document.querySelector('dom-identifier')._tag --- and send the parameter to it
thnx, as temporaly solution riot.settings.brackets = '${ }' works