
I have been staring at this for hours now. Can anyone see why this button trigger isn't responsive?
I have the following piece in the sheet
<fieldset class="repeating_add-drives"> <div class="drives-list-item"> <input type="hidden" name="attr_add-drive-key" value="" /> <span class="drive-name" name="attr_add-drive-title"></span> <span class="drive-rule" name="attr_add-drive-rule"></span> <button class="add-drive" type="action" name="act_add-the-drive">Add</button> </div> </fieldset>
And this in the worker code
on("clicked:repeating_add-drives:add-the-drive", function(ev) { console.log(ev); });
I get nothing in the console.
Notably, if I do
on("clicked:add-the-drive", function(ev) { console.log(ev); });
I get a response in the console, but the event information doesn't contain the "repeating section"-information I'm looking for anymore.