Ok, so I’m making a digital character sheet for a ttrpg I’ve been building and I’m working on an inventory page. I’m having trouble getting a pair of repeating groups to work the way I want them to. Both groups have a RG is inside a drop area a couple pixels wider than the RG, and each cell is a drag/drop group with a text field showing the name of an item and a ? icon that will (eventually) show a popup with details on the item. One group is “the ground” and links to a data type called inventory which is “inside” (dual referenced by unique id) a data type called DM Stuff. The other group is “the character’s inventory” and is similarly indexed within a data type called Inventory which is inside a huge Character data type that has a few hundred other parameters.
So the goal is to have a DM list of items that I can throw on the ground and the players will be able to drag those items into their inventory and later equip/use them etc. Here’s where it gets wonky. Say I’ve got an item in the database under the DM inventory, and it shows in the top group, which I click and drag down to the character’s inventory. That part works perfectly. I’ve got workflows set up to create a new thing with the attributes of what was dropped, hide and delete the original item etc etc. The new item pops up in the character’s RG, database updates and everything is groovy. Then if I go to reverse the action, though, it just disappears. The same thing happens whether I take the item from the ground to the inventory and back to the ground, or from inventory to ground and back to inventory. Thing is, it’s not that it isn’t running the workflow the second time around. Everything on the database side looks normal and updated, and if I refresh the page the item shows up exactly where it’s supposed to be. It just doesn’t display for some reason until I refresh.
Any ideas?
Also, Hi, Hello, Good Evening and such. I’m Tangent. I’m new to Bubble. Just found it about a week and a half ago. Seems awesome so far and I plan to be here a while from the looks of things.
Thanks in advance for the help.