Services Plugins FAQs

Repeating Group Drag & Drop - sequence list of texts

Hi all,

I have a repeating group displaying a Thing called “Letters” with a type called Letters, which is a list of texts. In this example the texts are (A, B and C).

I want the users in my app to be able to change the sequence of these texts in any random order.

The drag & drop repeating group works fine however the catch seems to be saving the new sequence in the database.

I encounter the following two challenges:

  1. Showing the save button: I show a save button as soon as the Reorder element’s new order is not empty. The problem is this element won’t reset this state after performing a “reset a group” step in the workflow. Also I do not see any other to reset this state.

  2. When saving the list of texts, the easiest way seems to make changes to the Letters and then ‘set list’ ; reorder’s Reorder things IDs.

The issue I’m facing here is that this only works randomly… sometimes it maintains the new intended sequence and sometimes it does not work, as if the ultimate CRUD operation works in an order that cannot be steered by the sequence of things.

Does anyone have a proper solution on how I can save the new drag and drop ’ s list of texts in the database as a list of texts keeping the server side sequence and resetting the condition for the save button afterwards?

Thanks!!!

Hi @root,

Thanks for the detailed explanation.

From what you’re describing, there are two likely points to check with the Drag & Drop Repeating Group plugin:

:white_check_mark: 1. “Save” button state not resetting

The plugin exposes New order as a state of the element, but this state does not auto-reset when the RG is reset.
To help us reproduce your case more accurately, could you please share:

  • Plugin version
  • A screenshot of the plugin element configuration (especially the Reorder element)
  • How you are triggering “Reset Group” in your workflow
  • A screenshot of the condition you use to show/hide the Save button

This will allow us to test the exact logic on our side, since the Save button condition depends heavily on how your workflow updates the state.

:white_check_mark: 2. Saving the new sequence

Bubble sometimes updates lists before the “Set list” operation completes, depending on async workflow order. To understand why it works “randomly” on your end, we’ll need:

  • Full workflow screenshots for your “Save” button
  • The data type structure of ‘Letters’
  • Whether you use Reorder previous list or Reorder list of things
  • A screenshot of the Reorder element’s output (IDs / texts)

Once we have this, we can recreate a high-fidelity test and check if the plugin state is feeding Bubble the reordered list correctly, or if the workflow order needs adjusting.

Thanks! As soon as we have those details, we’ll help you sort out the sequence saving reliably.
If anything is unclear, just let us know

Regards,
Support Team
Browse all Zeroqode Plugins for bubble
Banner_Last3

Hi @root :wave:

Just checking in to see if you had a chance to gather the screenshots and details we asked for earlier.
These will help us reproduce your exact setup and understand why the Save button state and the sequence saving behavior are inconsistent on your side.

Whenever you have a moment, feel free to share the plugin version, your element configuration, and the workflow screenshots. We’ll jump right into testing once we have them.

Thanks, and looking forward to your update!

Regards,
Support Team
Browse all Zeroqode Plugins for bubble
Banner_Last3