Dynamic ID in repeat

Hi Wapplers,

I have read around the forum and whilst found similar posts none fixed my problem.

i have a form inside a repeat (trying to get a multi inline form editor working (almost there just need dynamic id to work)).

So I have this code;

div class="col-2">
														<input dmx-bind:id="'id_'+id" name="labelnumber" type="text" class="form-control" dmx-bind:value="labelnumber" dmx-on:blur="itemupdate.submit()">
													</div>

the code DOES give me a dynamic id using the db’s unique id returned in my query, BUT now the data in the form field says “[object Object]”

If I remove the dynamic id i get the correct value in my form field.

What is causing it to change the form field value from what it should be to [object Object] on using a dynamic id?

thanks in advance
darren

Community Page
Last updated: