From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Sat, 31 Dec 2022 16:08:30 +0000 (-0800) Subject: fix dropdown selection model updating X-Git-Tag: v1.11.3~1^2~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2292%2Fhead;p=thirdparty%2Fpaperless-ngx.git fix dropdown selection model updating --- 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 d8345fd81a..aef47b605d 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 0a6b959397..3b78d84459 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">