jQuery-QueryBuilder
jQuery-QueryBuilder copied to clipboard
BUG: OR condition not reseted after rule deletion
This issue is reproducible with the basic demo: https://querybuilder.js.org/demo.html
When there is only one rule, the AND/OR selector is greyed out and auto set to "AND".
Now if we add a new rule, we can chose to set to "OR"
But when we delete the second rule, the condition is not reset to "AND" as it should be:

This bug is making an inconsistent behavior, because with for same inputs there is different output based previous events