Data Store and Form Repeat

OS info

Problem description

Testing form repeat with data store.

Steps to reproduce

When name attribute (a) and binding (id) are different, the value attribute displays correctly.

<form id="form1">
<div is="dmx-form-repeat" id="formRepeat1" dmx-bind:items="cart.data">
<input name="a" type="hidden" dmx-bind:value="id">
</div>
</form>

form-repeat-id

When name attribute (id) and binding (id) are the same, the value attribute displays as [object object].

<form id="form1">
<div is="dmx-form-repeat" id="formRepeat1" dmx-bind:items="cart.data">
<input name="id" type="hidden" dmx-bind:value="id">
</div>
</form>

form-repeat-object

Community Page
Last updated: