Improve performance for pick lists based on another table #5641
Replies: 4 comments
-
|
From CSIRO:
|
Beta Was this translation helpful? Give feedback.
-
|
@maxpatiiuk would infinite scrolling be a solution? Related to issue #1761 |
Beta Was this translation helpful? Give feedback.
-
|
Adding virtual scrolling or infinite loading to Query Combo Boxes would be really good Then add a way to render a pick list as a query combo box (thus, pick list will gain a new feature, and this issue will be fixed for pick lists) Also, consider changing the code so that pick lists whose items are based on another table are rendered as a query combo box by default, unless the form definition explicitly says otherwise - this is because pick lists based on another table can contain thousands of records @CarolineDenis for more context, see |
Beta Was this translation helpful? Give feedback.
-
|
Note, as a (bad) workaround, you can limit the maximum number of items that are retrieved by a pick list that is based on a field or table using the size limit option In the code, it's used in here: specify7/specifyweb/frontend/js_src/lib/components/PickLists/fetch.ts Lines 81 to 84 in 4ab1ab9 Consider removing that option in the future when pick lists would be made to load items dynamically as needed |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions