We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6665e9b commit bd623d8Copy full SHA for bd623d8
examples/index.html
@@ -552,6 +552,9 @@ <h3>Output</h3>
552
flags: {
553
condition_readonly: true
554
},
555
+ data: {
556
+ root: true
557
+ },
558
rules: [{
559
id: 'price',
560
operator: 'between',
src/public.js
@@ -46,6 +46,10 @@ QueryBuilder.prototype.reset = function() {
46
47
this.model.root.empty();
48
49
+ this.model.root.data = undefined;
50
+ this.model.root.flags = $.extend({}, this.settings.default_group_flags);
51
+ this.model.root.condition = this.settings.default_condition;
52
+
53
this.addRule(this.model.root);
54
55
/**
0 commit comments