I have a character sheet I've been gradually working on as I play Fellowship with my friends, but I've run into a strange issue. There are two nearly-identical repeating sections, one for "Gear" and one for "Other Items" (the difference is important to the game, as Gear can be refreshed). Gear works fine, but when more than one item is added to the Other Items section, it disappears when a value is set. Once I enter a value for "Gear Name" in the above screenshot, when I click away anywhere else the second item section vanishes. This has happened on all character sheets in the game, and only on the second item in "Other Items". I only have a custom script running and I disabled that to test, but it didn't have any effect. I also have some sheet worker scripts, but they either monitor other stats or trigger on sheet open, so they wouldn't activate when I set this value (they also don't delete any repeating section rows). This is the code for the two repeating sections, one of which works and the other doesn't: <label class="sheet-gear"><span data-i18n="gear">Gear</span>:</label>
<fieldset class="repeating_gear">
<label class="sheet-gear-name"><input type="text" name="attr_gearname" data-i18n-placeholder="gear-name" placeholder="Gear Name"/><span class="sheet-gear-uses"><input type="number" name="attr_gearuses" />/<input type="number" name="attr_gearuses_max" /></span></label>
<textarea rows="2" cols="50" name="attr_geardesc" data-i18n-placeholder="gear-tags-desc" placeholder="Gear Tags & Description"></textarea>
</fieldset>
<label class="sheet-other-items"><span data-i18n="other-items">Other Items</span>:</label>
<fieldset class="repeating_other_gear">
<label class="sheet-gear-name"><input type="text" name="attr_gearname" data-i18n-placeholder="gear-name" placeholder="Gear Name"/><span class="sheet-gear-uses"><input type="number" name="attr_gearuses" />/<input type="number" name="attr_gearuses_max" /></span></label>
<textarea rows="2" cols="50" name="attr_geardesc" data-i18n-placeholder="gear-tags-desc" placeholder="Gear Tags & Description"></textarea>
</fieldset>
Has anyone seen this kind of behavior before and know what's causing it? Should I not be using the same attribute names for a second repeating section, even though they'll have different row IDs and a different section name?