Cannot add optional for every condition in Query Builder

Wappler Version : 6.8.0
Operating System : Windows 11
Server Model: NodeJS
Database Type: MySQL
Hosting Type: local

Expected behavior

What do you think should happen?

Optional clause can be added for each condition

Actual behavior

What actually happens?

The optional clause is "pushed down" when a new condition is added so that it doesn't apply to the condition it should, and it's not possible to add a condition back

How to reproduce

Hi Mike,

To add an optional condition for a condition, create a conditional group by clicking on the 'plus' folder icon (on the left of the '?' icon). Then you can add the condition and optional condition inside that group.


Is that still making event_id optional? I was expecting to see each optional condition directly below the condition but can't seem to get that

Delete both condition and conditional for event_id. Then add another group and add the event_id condition and conditional inside the group.

1 Like

Got it, thanks!

1 Like