
Hello Roll20 I just discovered that if field1 references field2 , then field1 will remember this reference even the value in field1 no longer references field2 . That was quite a mouthful, so here is an example: <a href="https://www.youtube.com/watch?v=B7jX8ZdhdCY" rel="nofollow">https://www.youtube.com/watch?v=B7jX8ZdhdCY</a> Here is the code that I used: <label>@{field1} <input type="text" name="attr_field1"></label><br>
<label>@{field2} <input type="text" name="attr_field2"></label><br>
<label>@{field3} <input type="text" name="attr_field3"></label><br>
<label>@{field4} <input type="text" name="attr_field4"></label><br>
<label>@{field5} <input type="text" name="attr_field5"></label><br>
<script type="text/worker">
on('change:field1', function(eventInfo) {
console.log(eventInfo);
});
</script> Steps to reproduce: Set field1 to have the value @{field2} Update the value of field2 to anything and confirm that the event fires in the javascript console. Expected ✅ Set field1 to have the value @{field3} Update the value of field3 to anything and confirm that the event fires in the javascript console. Expected ✅ Update the value of field2 to anything Expected behaviour No event is fired as field1 no longer references field2 Actual behviour that the event is fired, even though field1 no longer references @{field2}. Not Expected ❌ The only way I have found to reset the event listener is to reload the entire VTT. Just closing and opening the character sheet has no effect A report has been sent to through the Help Center, and has the ticket number [#100148]