Innerhtml : "dmx-on:click" does not work

Hi All,

For many reasons, i had to generate a list of cards with a repeat, and i populate the innerhtml property of each card with html code like this:
image
I want to set the value of a variable “emp_current” when i click on a card. Each card has ti’s own value.
But dmx-on:click does not work. Have an idea ?

Many thank’s !

Community Page
Last updated: