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

Cannot delete unedited repeating item

1457515163
Kryx
Pro
Sheet Author
API Scripter
Steps to reproduce: Create a new character on the 5e OGL sheet. Click the add button below Other Resource Click the lock button below Other Resource Attempt to delete the new row of other resources The console shows: DELETE REPEATING ROW: repeating_resource_-KCPeeceoQZIySw2raB1 Triggering for remove:repeating_resource:-kcpeeceoqziysw2rab1 CLICKED Triggering for remove:repeating_resourc But the items are not actually deleted. I have noticed this same behavior for all repeating sections on the 5e Shaped sheet.
1457557365
Phil B.
Forum Champion
Sheet Author
This is because there is nothing to delete, since the rows don't actually create any new attributes until you start adding data to the new row. But, you are correct in that they should be able to be deleted, despite being empty. I've logged the bug and we will work on fixing it when we get a chance.
1457557475
Kryx
Pro
Sheet Author
API Scripter
Thanks Phil.
1457561419
Kryx
Pro
Sheet Author
API Scripter
Some additional details if it helps: Deleting a repeating item that is in an error state also does not remove it. Adding a name or another field to a repeating item that won't delete will delete it, but it instantly comes back.
1457570289
Phil B.
Forum Champion
Sheet Author
I have a fix for the first issue, but I need a little more info about the error state issue which is a totally separate issue.  Do you have a specific example/steps on how to generate the error state row that can't be deleted?
1457601303

Edited 1457601443
Kryx
Pro
Sheet Author
API Scripter
Thanks for fixing the issue of not being able to delete. I believe not being able to delete an erroring repeating row is the same issue, but in case it isn't: Creating reproducible erroring repeating fields is difficult so I've created a test campaign for you to check. Open "Vanakoji Test" and on the "Characters" and try to remove one of the rows with a red box. I've seen this behavior in the past and I've checked this specific case where I don't think my sheet workers is involved at all. I've sent you a PM with the join link. Re-added after removed is potentially a different thing that I cannot provide a reproduction path for. I'll bring it up if I encounter it again.
1457646791

Edited 1457648851
Phil B.
Forum Champion
Sheet Author
I've fixed the original issue, the fix should be on Dev now.