From f4a95583ae13d83763a9e995a7044528650e5175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=98=89=E7=A5=A5=20=E8=A9=B9?= Date: Mon, 21 Oct 2024 16:24:36 +0800 Subject: [PATCH] fixed typeahead limit: 50 --- Views/Home/ProjectList.cshtml | 6 +++--- wwwroot/assets/javascript/custom/projectlist.js | 9 ++++++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Views/Home/ProjectList.cshtml b/Views/Home/ProjectList.cshtml index fcc4b1e2..c0648db7 100644 --- a/Views/Home/ProjectList.cshtml +++ b/Views/Home/ProjectList.cshtml @@ -85,12 +85,12 @@
-
+
- +
-
+
diff --git a/wwwroot/assets/javascript/custom/projectlist.js b/wwwroot/assets/javascript/custom/projectlist.js index 717f95ef..a91b3ea9 100644 --- a/wwwroot/assets/javascript/custom/projectlist.js +++ b/wwwroot/assets/javascript/custom/projectlist.js @@ -2982,7 +2982,8 @@ function loadSubItemTypeahead(mainItem_uid) { highlight: false }, { - source: nflTeamsWithDefaults + source: nflTeamsWithDefaults, + limit: 20 } ); @@ -3096,7 +3097,8 @@ function loadMainItemTypeahead() { highlight: false }, { - source: nflTeamsWithDefaults + source: nflTeamsWithDefaults, + limit: 20 } ); @@ -3412,7 +3414,8 @@ function initInvoiceSelectItem() { highlight: false }, { - source: nflTeamsWithDefaults + source: nflTeamsWithDefaults, + limit: 20 } ); }