Im trying to figure out how to use server connect with a dynamic url attribute. Currently my code looks like this:
<dmx-serverconnect id="classAPI" dmx-bind:url="'api/'+selectedterm+'/'+gradMode" noload="true"></dmx-serverconnect>
But when loaded in the browser, the server connect url is this:
localhost:3000/api/[object%20Object]/[object%20Object]
Both “selectedterm” and “gradMode” variables are regular string/text and have values. Anyone know what I’m doing wrong here?!