Message: Honestly, I think I might need a version of the tutorial that just dumps everything on me all at once. I’m trying to figure out the connection points to make a default value from template.json show up over in the HTML, and the proper way to have it wired. I went slow and careful through the many wiki tutorial pages… and things just flat out don’t work 🤷 Maybe I got too fancy trying to have an Object in there, but I’m no JS noob (I’m a dev by profession) so I figured it would be straightforward. Alas.
I’m attempting to have an object that contains group data (for targeting reasons) on my characters and npcs, and have that changeable in a ‘programming’ tab on the Actor sheet. I got the tab appearing a-okay and the text box shows up, but it seems to link… somewhere into the ether? It persists when I close Foundry, but worrisomely I don’t know where it goes
The rendering part of the class you’re inheriting from calls getData() to get the data to give the template. So as long as you include your data in the object returned from it, you should be good.