Skip to content

Commit

Permalink
Merge pull request #451 from UiPath/fix/searchable_directive
Browse files Browse the repository at this point in the history
fix(grid): allow resetting searchable directive's value
  • Loading branch information
CatalinB7 authored Jan 29, 2024
2 parents b5676d5 + 94988fb commit e80cba3
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# v15.1.2 (2024-01-29)
* **grid** allow resetting searchable directive's value

# v15.1.1 (2024-01-16)
* **keyboard-shortcut** initialize shortcut keys input
* **grid** translate filter options
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-components",
"version": "15.1.1",
"version": "15.1.2",
"author": {
"name": "UiPath Inc",
"url": "https://uipath.com"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,12 @@ export class UiGridSearchFilterDirective<T> extends UiGridFilterDirective<T> imp
}

private handleMultiple(value?: ISuggestValue, isSelected?: boolean) {
if (!value || this.checkAlreadyExisting(value, isSelected)) {
if (!value) {
this.value = [];
return;
}

if (this.checkAlreadyExisting(value, isSelected)) {
return;
}

Expand Down
2 changes: 1 addition & 1 deletion projects/angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@uipath/angular",
"version": "15.1.1",
"version": "15.1.2",
"license": "MIT",
"author": {
"name": "UiPath Inc",
Expand Down

0 comments on commit e80cba3

Please sign in to comment.