You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(query-builder): add public api for commit and discard current state (#14910)
* feat(query-builder): add public api for commit and discard current state
* chore(*): update changelog
---------
Co-authored-by: teodosia <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ All notable changes for each version of this project will be documented in this
17
17
-`IgxQueryBuilder`
18
18
- Introduced ability to create nested queries by specifying IN/NOT IN operators.
19
19
- Added the `entities` property that accepts an array of `EntityType` objects describing an entity with its name and an array of fields. The `fields` input property has been deprecated and will be removed in a future version. Automatic migrations are available and will be applied on `ng update`.
20
+
- Added the `canCommit`, `commit` and `discard` public methods that allows the user to save/discard the current state of the expression tree.
20
21
- Added option to template the search value input:
(!this._editedExpression&&!!this.rootGroup)||// no edited expr, root group
842
+
(this._editedExpression&&!this.selectedField&&(this.expressionTree&&this.expressionTree.filteringOperands[0]!==this._editedExpression.expression))||// empty edited expr with at least one other expr
0 commit comments