Angular-QueryBuilder
Angular-QueryBuilder copied to clipboard
How to add "Not" as checkbox along with And /or radio buttons
When we want to negate a query then i want "NOT" operator somewhat like we have And OR. Please suggest how to add it and get this NOT selection per Ruleset dynamically in query.
I would suggest adding a "not" boolean attribute in the ruleset which would allow either "not (x OR y)" or "not (x AND y)". A NOT checkbox could be added to the AND/OR radio buttons to change the value of the attribute.