Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[HELP] Most of the time unable to delete items created in repeating sections

I've got a few repeating sections on my sheet that work as far as creating new items and reordering them goes, but I am sometimes unable to delete any items from the repeating section once the item is created. I've included all the sections of my code that are repeating sections, because the problem seems to be with all of them. Sporadically they will work instead of not work, but mostly items are not erasable. <div class="levelpower1"> <fieldset class="repeating_pow1" > <select class="medium" name="attr_level1" > <option data-i18n="d6-minor-ability1" value="d6">D6 - Minor</option> <option data-i18n="d8-enhanced-ability1" value="d8">D8 - Enhanced</option> <option data-i18n="d10-superhuman-ability1" value="d10">D10 - Superhuman</option> <option data-i18n="d12-godlike-ability1" value="d12">D12 - Godlike</option> </select> <input class="sub_name" name="attr_power1" data-i18n-placeholder="power-name1" placeholder="Power Name" spellcheck="false" type="text" /> </fieldset> </div>      <div class="sfx1"> <strong data-i18n="special-effects-abbr1">SFX:</strong> <fieldset class="repeating_sfx1"> <input class="sub_name" name="attr_sfx1" data-i18n-placeholder="special-effects-abbr-name1" placeholder="SFX Name" spellcheck="false" type="text" /> <textarea class="short" name="attr_sfx_desc1" data-i18n-placeholder="special-effects-abbr-description1" placeholder="SFX Description" spellcheck="false"></textarea> </fieldset> </div> <div class="limit1"> <strong data-i18n="limit1">Limit:</strong> <fieldset class="repeating_limit1"> <input class="sub_name" name="attr_limit1" data-i18n-placeholder="limit-name1" placeholder="Limit Name" spellcheck="false" type="text" /> <textarea class="short" name="attr_limit_desc1" data-i18n-placeholder="limit-description1" placeholder="Limit Description" spellcheck="false"></textarea> <button data-i18n="add1-power-point-l1" name="act_addpp" type="action" > +1PP </button> </fieldset> </div> <div class="levelpower2"> <fieldset class="repeating_pow2"> <select class="medium" name="attr_level2"> <option data-i18n="d6-minor-ability2" value="d6">D6 - Minor</option> <option data-i18n="d8-enhanced-ability2" value="d8">D8 - Enhanced</option> <option data-i18n="d10-superhuman-ability2" value="d10">D10 - Superhuman</option> <option data-i18n="d12-godlike-ability2" value="d12">D12 - Godlike</option> </select> <input class="sub_name" name="attr_power2" data-i18n-placeholder="power-name2" placeholder="Power Name" spellcheck="false" type="text" /> </fieldset> </div> <div class="sfx2"> <strong data-i18n="special-effects-abbr2">SFX:</strong> <fieldset class="repeating_sfx2"> <input class="sub_name" name="attr_sfx2" data-i18n-placeholder="special-effects-abbr-name2" placeholder="SFX Name" spellcheck="false" type="text" /> <textarea class="short" name="attr_sfx_desc2" data-i18n-placeholder="special-effects-abbr-description2" placeholder="SFX Description" spellcheck="false"></textarea> </fieldset> </div> <div class="limit2"> <strong data-i18n="limit2">Limit:</strong> <fieldset class="repeating_limit2"> <input class="sub_name" name="attr_limit2" data-i18n-placeholder="limit-name2" placeholder="Limit Name" spellcheck="false" type="text" /> <textarea class="short" name="attr_limit_desc2" data-i18n-placeholder="limit-description2" placeholder="Limit Description" spellcheck="false"></textarea> <button data-i18n="add1-power-point-l2" name="act_addpp" type="action" > +1PP </button> </fieldset> </div> <div class="specrating"> <fieldset class="repeating_spec1"> <select class="small" name="attr_spec1"> <option data-i18n="choose">Choose...</option> <option data-i18n="acrobatic">Acrobatic</option> <option data-i18n="business">Business</option> <option data-i18n="combat">Combat</option> <option data-i18n="cosmic">Cosmic</option> <option data-i18n="covert">Covert</option> <option data-i18n="crime">Crime</option> <option data-i18n="medical">Medical</option> <option data-i18n="menace">Menace</option> <option data-i18n="mystic">Mystic</option> <option data-i18n="psych">Psych</option> <option data-i18n="science">Science</option> <option data-i18n="tech">Tech</option> <option data-i18n="vehicle">Vehicle</option> </select> <select name="attr_rating1"> <option data-i18n="expert-d8-2d6" value="d8">Expert - D8 / 2D6</option> <option data-i18n="master-d10-2d8-3d6" value="d10">Master - D10 / 2D8 / 3D6</option> </select> </fieldset> </div> <div class="resource_asset_names_descs"> <fieldset class="repeating_resourceasset"> <input class="sub_name" name="attr_resource_asset_name" data-i18n-placeholder="resource-asset" placeholder="Resource / Asset" spellcheck="false" type="text" /> <input class="description" name="attr_resource_desc" data-i18n-placeholder="resource-asset-description" placeholder="Resource / Asset Description" spellcheck="false" type="text" /> </fieldset> </div> <div class="specrating_npc"> <fieldset class="repeating_spec1npc"> <select class="small" name="attr_spec1_npc"> <option data-i18n="choose-npc">Choose...</option> <option data-i18n="acrobatic-npc">Acrobatic</option> <option data-i18n="business-npc">Business</option> <option data-i18n="combat-npc">Combat</option> <option data-i18n="cosmic-npc">Cosmic</option> <option data-i18n="covert-npc">Covert</option> <option data-i18n="crime-npc">Crime</option> <option data-i18n="medical-npc">Medical</option> <option data-i18n="menace-npc">Menace</option> <option data-i18n="mystic-npc">Mystic</option> <option data-i18n="psych-npc">Psych</option> <option data-i18n="science-npc">Science</option> <option data-i18n="tech-npc">Tech</option> <option data-i18n="vehicle-npc">Vehicle</option> </select> <select name="attr_rating1_npc"> <option data-i18n="rookie-d6-npc" value="d6">Rookie - D6</option> <option data-i18n="expert-d8-2d6-npc" value="d8">Expert - D8 / 2D6</option> <option data-i18n="master-d10-2d8-3d6-npc" value="d10">Master - D10 / 2D8 / 3D6</option> </select> </fieldset> </div> <div class="resource_asset_names_descs_npc"> <fieldset class="repeating_resourceassetnpc"> <input class="sub_name_npc" name="attr_resource_asset_name_npc" data-i18n-placeholder="resource-asset-npc" placeholder="Resource / Asset" spellcheck="false" type="text" /> <input class="description_npc" name="attr_resource_desc_npc" data-i18n-placeholder="resource-asset-description-npc" placeholder="Resource / Asset Description" spellcheck="false" type="text" /> </fieldset> </div> <div class="levelpower1_npc"> <fieldset class="repeating_pow1npc" > <select class="medium" name="attr_level1_npc" > <option data-i18n="d6-minor-ability1-npc" value="d6">D6 - Minor</option> <option data-i18n="d8-enhanced-ability1-npc" value="d8">D8 - Enhanced</option> <option data-i18n="d10-superhuman-ability1-npc" value="d10">D10 - Superhuman</option> <option data-i18n="d12-godlike-ability1-npc" value="d12">D12 - Godlike</option> </select> <input class="sub_name_npc" name="attr_power1" data-i18n-placeholder="power-name1-npc" placeholder="Power Name" spellcheck="false" type="text" /> </fieldset> </div> <div class="sfx1_npc"> <strong data-i18n="special-effects-abbr1-npc">SFX:</strong> <fieldset class="repeating_sfx1npc"> <input class="sub_name_npc" name="attr_sfx1_npc" data-i18n-placeholder="special-effects-abbr-name1-npc" placeholder="SFX Name" spellcheck="false" type="text" /> <textarea class="short_npc" name="attr_sfx_desc1_npc" data-i18n-placeholder="special-effects-abbr-description1-npc" placeholder="SFX Description" spellcheck="false"></textarea> </fieldset> </div> <div class="limit1_npc"> <strong data-i18n="limit1-npc">Limit:</strong> <fieldset class="repeating_limit1npc"> <input class="sub_name_npc" name="attr_limit1_npc" data-i18n-placeholder="limit-name1-npc" placeholder="Limit Name" spellcheck="false" type="text" /> <textarea class="short_npc" name="attr_limit_desc1_npc" data-i18n-placeholder="limit-description1-npc" placeholder="Limit Description" spellcheck="false"></textarea> </fieldset> </div> <div class="levelpower2_npc"> <fieldset class="repeating_pow2npc"> <select class="medium" name="attr_level2_npc"> <option data-i18n="d6-minor-ability2-npc" value="d6">D6 - Minor</option> <option data-i18n="d8-enhanced-ability2-npc" value="d8">D8 - Enhanced</option> <option data-i18n="d10-superhuman-ability2-npc" value="d10">D10 - Superhuman</option> <option data-i18n="d12-godlike-ability2-npc" value="d12">D12 - Godlike</option> </select> <input class="sub_name_npc" name="attr_power2_npc" data-i18n-placeholder="power-name2-npc" placeholder="Power Name" spellcheck="false" type="text" /> </fieldset> </div> <div class="sfx2_npc"> <strong data-i18n="special-effects-abbr2-npc">SFX:</strong> <fieldset class="repeating_sfx2npc"> <input class="sub_name_npc" name="attr_sfx2_npc" data-i18n-placeholder="special-effects-abbr-name2-npc" placeholder="SFX Name" spellcheck="false" type="text" /> <textarea class="short_npc" name="attr_sfx_desc2_npc" data-i18n-placeholder="special-effects-abbr-description2-npc" placeholder="SFX Description" spellcheck="false"></textarea> </fieldset> </div> <div class="limit2_npc"> <strong data-i18n="limit2-npc">Limit:</strong> <fieldset class="repeating_limit2npc"> <input class="sub_name_npc" name="attr_limit2_npc" data-i18n-placeholder="limit-name2-npc" placeholder="Limit Name" spellcheck="false" type="text" /> <textarea class="short_npc" name="attr_limit_desc2_npc" data-i18n-placeholder="limit-description2-npc" placeholder="Limit Description" spellcheck="false"></textarea> </fieldset> </div>
1590726946

Edited 1590752807
Finderski
Plus
Sheet Author
Compendium Curator
Is the problem that you can't click the trashcan icon? If so, try adding this for each of your repeating field sets (I've only done pow1 as an example) to your CSS: [data-groupname=repeating_pow1] > .repitem > .itemcontrol {     z-index: 10000; } If that's not the problem, can you describe what's happening?
1590748062
GiGs
Pro
Sheet Author
API Scripter
Another possibility: Do you have any sheet workers affecting these repeating sections?
The trashcan icon comes up and is clickable, and sometimes it works, but the icon on it looks like a tiny circle with 4 nubs coming off of it, I'm not sure why. Unfortunately your CSS fix didn't change anything as far as I could tell, Finderski. I don't have any sheet workers affecting these repeating sections. I'll create a character and all these sections will have fully deletable items, but it won't work for a different character in the same sandbox. Sometimes I will be able to delete all but the first item in the list.
1590769069
GiGs
Pro
Sheet Author
API Scripter
Is the sheet popped out? I think repeating section buttons dont work on popped out sheets. There a few features that dont work when a sheet is popped out.
No, it’s within the window
Has this affected every one of the repeating sections at one time or another? Is there a repeating section that it has never happened to or happens noticeably less often? I notice some of your repeating sections share a name with an attribute inside them. I don't think that would cause a problem, but it seems confusing.
Yes, it seems to affect every section at one time or another. I think it happens more to the sections that have dropdowns in them, but I'm not sure, because even among those it seems inconsistent.