Help Needed! Dynamic Table for Reputation Tracking
Hello, everyone. I am still encountering an issue with my Reputation Tracking system.
In the actor sheet, there is a tab to track the character’s reputation with other characters using a table. Each row in the table represents a relationship. The row has a column for an input text field (to store the character’s name) and a second column of radio buttons which represent a numerical scale of the relationship level. There should be a button to add a new row, which creates a new object in the array of relationships this character has. Each row will also have a third column with a delete button that not only removes the row, but deletes the object from the array.
For some reason, this isn't working as intended (see attached video for example of problem and console warnings). Rows and new objects get added, but information for only 1 object will save. When trying to add a new object after inputting info, the array will reset itself.
Is there anyone out there who can help me identify my problem and guide me towards correction? Thank you!
from the template.json:
from getData():
from activeListeners():
async functions in actor-sheet.mjs:
0 Replies