From 25f0a79d0680d8632bc77528b9c48ff2e094359e Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Sat, 31 Dec 2022 08:08:30 -0800 Subject: [PATCH] fix dropdown selection model updating --- .../document-list/bulk-editor/bulk-editor.component.html | 8 ++++---- .../filter-editor/filter-editor.component.html | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.html b/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.html index d8345fd81..aef47b605 100644 --- a/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.html +++ b/src-ui/src/app/components/document-list/bulk-editor/bulk-editor.component.html @@ -31,7 +31,7 @@ [editing]="true" [multiple]="true" [applyOnClose]="applyOnClose" - (open)="openTagsDropdown()" + (opened)="openTagsDropdown()" [(selectionModel)]="tagSelectionModel" (apply)="setTags($event)"> @@ -40,7 +40,7 @@ [items]="correspondents" [editing]="true" [applyOnClose]="applyOnClose" - (open)="openCorrespondentDropdown()" + (opened)="openCorrespondentDropdown()" [(selectionModel)]="correspondentSelectionModel" (apply)="setCorrespondents($event)"> @@ -49,7 +49,7 @@ [items]="documentTypes" [editing]="true" [applyOnClose]="applyOnClose" - (open)="openDocumentTypeDropdown()" + (opened)="openDocumentTypeDropdown()" [(selectionModel)]="documentTypeSelectionModel" (apply)="setDocumentTypes($event)"> @@ -58,7 +58,7 @@ [items]="storagePaths" [editing]="true" [applyOnClose]="applyOnClose" - (open)="openStoragePathDropdown()" + (opened)="openStoragePathDropdown()" [(selectionModel)]="storagePathsSelectionModel" (apply)="setStoragePaths($event)"> diff --git a/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.html b/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.html index 0a6b95939..3b78d8445 100644 --- a/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.html +++ b/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.html @@ -30,27 +30,27 @@ [(selectionModel)]="tagSelectionModel" (selectionModelChange)="updateRules()" [multiple]="true" - (open)="onTagsDropdownOpen()" + (opened)="onTagsDropdownOpen()" [allowSelectNone]="true">