Skip to content

Commit 6fcca9d

Browse files
fix placeholder translation exception
1 parent 80e6069 commit 6fcca9d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

projects/terminology-treeview/src/lib/terminology-tree-filter/terminology-tree-filter.component.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
[(ngModel)]="edutrFilterText"
1818
(ngModelChange)="onFilterTextChange($event)"
1919
[placeholder]="
20-
translateService.instant(edutrReadOnly ? null : edutrPlaceholder)
20+
edutrPlaceholder
21+
? translateService.instant(edutrReadOnly ? null : edutrPlaceholder)
22+
: ''
2123
"
2224
[readonly]="edutrReadOnly || isMaxSelectionCountReached()"
2325
[disabled]="edutrDisabled"

0 commit comments

Comments
 (0)