When the checkbox is ticked, the value of the variable should be updated. I don’t know how to do it
P.S.: The $index is because this code is inside a repeater
Context:
I have a table populated through a dmx-repeat, and one of the columns contains a checkbox. If the user ticks the checkbox, I want to add a symbol/icon indicating the row has been updated (and therefore has pending changes to save)