Hi,
I want to output a JSON object in a <code> block. This is not working:
<code dmx-text="JSON.stringify(myForm.data.api.data)"></code>
<!-- no output -->
<code dmx-text="myForm.data.api.data"></code>
<!-- outputs [object Object] -->
Any ideas? Thanks!
You can easily replicate this on a project of yours:
<code dmx-text="{}"></code>
<!-- outputs [object Object], instead of {} -->
Community Page
Last updated:
Last updated: