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

Read-only rule-group condition "AND"/ "OR" ? #180

Closed
sujith3g opened this issue Oct 9, 2015 · 1 comment
Closed

Read-only rule-group condition "AND"/ "OR" ? #180

sujith3g opened this issue Oct 9, 2015 · 1 comment
Labels
feature New feature
Milestone

Comments

@sujith3g
Copy link

sujith3g commented Oct 9, 2015

I'm using this lib in one of my tool, and I want to add a read-only condition to the query-builder using setRule(), I have used the readonly : true for enforcing that condition/rule.

Now I want that read-only rule/condition to be always ANDed with other rules/conditions created by user. So Do we have an option to make the rule condition ( condition : "AND") read-only ?, and the user won't be able to change it from AND to OR.

@mistic100
Copy link
Owner

There isn't. I will add it.

Currently you can still hide the condition buttons in CSS and/or force the condition afterwards

@mistic100 mistic100 added the feature New feature label Oct 9, 2015
@mistic100 mistic100 added this to the 2.3.1 milestone Oct 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

No branches or pull requests

2 participants