Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Fix: dropdown with different bindlabel (#5134)

shamoon2b13fa47126a
diff --git a/src-ui/src/app/components/common/input/select/select.component.html b/src-ui/src/app/components/common/input/select/select.component.html
index 3a10b0019..617799a72 100644
--- a/src-ui/src/app/components/common/input/select/select.component.html
+++ b/src-ui/src/app/components/common/input/select/select.component.html
@@ -35,7 +35,7 @@
(clear)="clearLastSearchTerm()"
(blur)="onBlur()">
<ng-template ng-option-tmp let-item="item">
- <span [title]="item.name">{{item.name}}</span>
+ <span [title]="item[bindLabel]">{{item[bindLabel]}}</span>
</ng-template>
</ng-select>
@if (allowCreateNew) {