Loading 2 server connect actions deletes GET parameters

Wappler Version: 2.90
Operating System: Windows 10

Expected behavior

What do you think should happen?

I am trying to configure two server connect actions on a button click.

I expect to be able to accomplish this without the data from one of the server connect actions get deleted.

Actual behavior

Parameters are deleted when switching from one Server Connect action to another.

I made a video to show what happens:

How to reproduce

  1. Starting with a new page, create a button
  2. Add 2 server connect actions to the page (queries with GET parameters)
  3. On button click, load the first server action and assign a value to at least one of the GET params
  4. Load the second server action and assign a value to at least one of the GET params
  5. Toggle between the server connect actions and your parameter data should be wiped out

This indeed seems like an issue in the UI but I see another issue with your logic.
If you want to run the second server action after the first one finishes, you should not be calling it within the same click event.
Select your first server action, add new dynamic event - success and then run your second server action there.

1 Like

I thought about that. But in my case, it’s preferable for the actions to run simultaneously. But it’s not critical, so in the meantime I’ll probably use that approach.