]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Revert "Performance: Enable virtual scrolling for large custom field selects (#10708...
authorshamoon <4887959+shamoon@users.noreply.github.com>
Sun, 7 Sep 2025 23:10:11 +0000 (16:10 -0700)
committerGitHub <noreply@github.com>
Sun, 7 Sep 2025 23:10:11 +0000 (16:10 -0700)
This reverts commit d9459ac37f71da6011d1911d6987daf26fe49aa8.

src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.html
src-ui/src/app/components/common/input/select/select.component.html

index 22a1eec2ea257541fdb0f6a25aab312118ffe2d8..57aff1bd926854b77514830f46bb56f5912098e4 100644 (file)
@@ -51,7 +51,6 @@
     <ng-select #fieldSelects
       class="paperless-input-select rounded-end"
       [items]="getSelectOptionsForField(atom.field)"
-      [virtualScroll]="getSelectOptionsForField(atom.field)?.length > 100"
       bindLabel="label"
       bindValue="id"
       [(ngModel)]="atom.value"
index 7aa4ef94a0e46c574c166282339c1c15d97e4221..ef7be3b6249e416fc5d96fe45b6fdaf1383bddb4 100644 (file)
@@ -19,7 +19,6 @@
             [class.private]="isPrivate"
             [clearable]="allowNull"
             [items]="items"
-            [virtualScroll]="items?.length > 100"
             [addTag]="allowCreateNew && addItemRef"
             addTagText="Add item"
             i18n-addTagText="Used for both types, correspondents, storage paths"