
Hi Looks like for some reason, eventInfo does not send me the data I need in my sheetworker Context : - Legacy sheet (not Beacon) - Legacy environment (not Jumpgate) - Changing an attribute value from the sheet (not from a token bar linked to the attribute) This is the HTML : <div class="bordered centered">
<input type="number" class="two-digits" name="attr_pv" title="@{pv} PV courants" value="0">
/
<input type="number" class="two-digits" name="attr_pv_max" title="@{pv_max} PV maximum" value="0">
</div> This is the sheet-worker : /** * Change current resource when max resource changes */ on("change:pv_max change:dr_max change:pm_max change:pc_max", function(eventInfo) { const resource = eventInfo.sourceAttribute.split("_")[0]; const changed = intval(eventInfo.newValue) - intval(eventInfo.previousValue); console.log(eventInfo); return; getAttrs([ resource ], function(values) { const curValue = intval(values[resource]); setAttrs({ [resource]: curValue + changed }); }); }); This is the eventInfo object that comes in when I change the pv_max value on the sheet : { "sourceAttribute": "pv_max", "sourceType": "player", "triggerName": "pv_max" } Any one else seeing this as well ? TIA