Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: OR condition not reseted after rule deletion #954

Open
Guilouf opened this issue Aug 31, 2022 · 0 comments
Open

BUG: OR condition not reseted after rule deletion #954

Guilouf opened this issue Aug 31, 2022 · 0 comments

Comments

@Guilouf
Copy link

Guilouf commented Aug 31, 2022

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"
image
But when we delete the second rule, the condition is not reset to "AND" as it should be:
image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant