Why Table fail when I called in the same page in a snippet

Hi

this is the example

https://learn.objectiflune.com/qa-blobs/16214969775602416337.ol-datamapper

https://learn.objectiflune.com/qa-blobs/7439794649070715935.ol-template

With the snippet loaded you get the same id “Detalle” reused, but an id should be unique!

You would need to have a different id in the snippet and another text script to fill the table with detail record data.

Or you may think about using a script with clone() function to get a copy of the detail table.

Its due to not having unique ID’s for the tables. I messed around with your template a bit and using a script loaded the snippet. But for some reason the snippet table only return the first row of data and I’m not sure why.

https://learn.objectiflune.com/qa-blobs/14536769790945478871.ol-template

Regards,

S