My question is… can I use Data Detail to retrieve data from Nested Repeat Regions?
I have a server side nested repeat that looks like this
In my app, I have a dynamic repeat row which displays the Category, and then each product within that category along with an add to cart button. If someone presses the button, it then opens a modal window to ask for options such as size, colour etc.
<button class="btn btn-warning" id="with_options" dmx-hide="set_price" dmx-on:click="options.data_detail.select(id);options.show()"><i class="fa fa-plus"></i></button>
The problem is, I can’t seem to get the product details showing in the Modal window. The best I’ve managed to get is the category details.
<dmx-data-detail id="data_detail" dmx-bind:data="menu.data.category.product" key="id"></dmx-data-detail>
<div class="modal-header">
<h5 class="modal-title"> {{data_detail.data.name}} </h5>
Community Page
Last updated:
Last updated: