diff --git a/src-ui/src/app/components/common/custom-fields-dropdown/custom-fields-dropdown.component.html b/src-ui/src/app/components/common/custom-fields-dropdown/custom-fields-dropdown.component.html index b94fceabd..a465478f9 100644 --- a/src-ui/src/app/components/common/custom-fields-dropdown/custom-fields-dropdown.component.html +++ b/src-ui/src/app/components/common/custom-fields-dropdown/custom-fields-dropdown.component.html @@ -6,7 +6,7 @@
- +
@for (field of filteredFields; track field.id) { diff --git a/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.html b/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.html index 2c1431a13..6923df150 100644 --- a/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.html +++ b/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.html @@ -35,6 +35,7 @@ @if (getCustomFieldByID(atom.field)?.data_type === CustomFieldDataType.Date) { @@ -48,9 +49,9 @@
} @else if (getCustomFieldByID(atom.field)?.data_type === CustomFieldDataType.Float || getCustomFieldByID(atom.field)?.data_type === CustomFieldDataType.Integer) { - + } @else if (getCustomFieldByID(atom.field)?.data_type === CustomFieldDataType.Boolean) { - @@ -61,6 +62,7 @@ bindLabel="label" bindValue="id" [(ngModel)]="atom.value" + [ngModelOptions]="{standalone: true}" [disabled]="disabled" [virtualScroll]="getSelectOptionsForField(atom.field)?.length > 100" [searchFn]="selectOptionSearchFn" @@ -68,14 +70,15 @@ (mousedown)="$event.stopImmediatePropagation()" > } @else if (getCustomFieldByID(atom.field)?.data_type === CustomFieldDataType.DocumentLink) { - + } @else if (getCustomFieldByID(atom.field)?.data_type === CustomFieldDataType.Monetary) { } @else { - + } @@ -85,6 +88,7 @@ class="paperless-input-select" [items]="customFields()" [(ngModel)]="atom.field" + [ngModelOptions]="{standalone: true}" [disabled]="disabled" bindLabel="name" bindValue="id" @@ -92,20 +96,20 @@ [appendTo]="selectAppendTo" (mousedown)="$event.stopImmediatePropagation()" > - @for (operator of getOperatorsForField(atom.field); track operator.label) { } @switch (atom.operator) { @case (CustomFieldQueryOperator.Exists) { - } @case (CustomFieldQueryOperator.IsNull) { - @@ -123,7 +127,7 @@ } @case (CustomFieldQueryOperator.Contains) { - + } @case (CustomFieldQueryOperator.In) { } @default { - + } } diff --git a/src-ui/src/app/components/common/input/document-link/document-link.component.html b/src-ui/src/app/components/common/input/document-link/document-link.component.html index a3c1aeedc..4630422a9 100644 --- a/src-ui/src/app/components/common/input/document-link/document-link.component.html +++ b/src-ui/src/app/components/common/input/document-link/document-link.component.html @@ -24,7 +24,7 @@ } - @for (entry of entries; let i = $index; track entry[0]) {
- - + + diff --git a/src-ui/src/app/components/common/input/file/file.component.html b/src-ui/src/app/components/common/input/file/file.component.html index 865742333..c23f31ef6 100644 --- a/src-ui/src/app/components/common/input/file/file.component.html +++ b/src-ui/src/app/components/common/input/file/file.component.html @@ -22,7 +22,7 @@
} - + @if (hint) { } diff --git a/src-ui/src/app/components/common/input/monetary/monetary.component.html b/src-ui/src/app/components/common/input/monetary/monetary.component.html index b82fed7f5..be23eadaa 100644 --- a/src-ui/src/app/components/common/input/monetary/monetary.component.html +++ b/src-ui/src/app/components/common/input/monetary/monetary.component.html @@ -13,8 +13,8 @@
{{ monetaryValue | currency: currency }} - - + +
{{error}} diff --git a/src-ui/src/app/components/common/input/number/number.component.html b/src-ui/src/app/components/common/input/number/number.component.html index 2e0e3f8bc..3066d100e 100644 --- a/src-ui/src/app/components/common/input/number/number.component.html +++ b/src-ui/src/app/components/common/input/number/number.component.html @@ -12,7 +12,7 @@
- + @if (showAdd) { } diff --git a/src-ui/src/app/components/common/input/password/password.component.html b/src-ui/src/app/components/common/input/password/password.component.html index b5d88f79c..6d7266619 100644 --- a/src-ui/src/app/components/common/input/password/password.component.html +++ b/src-ui/src/app/components/common/input/password/password.component.html @@ -7,7 +7,7 @@
- + @if (showReveal) {