General question about how other people handle data fetching for drop downs in their apps.
Example:
A settings page for crud operations on customers with a paginated table of several customers. Limit set to 25 for each “page”.
In another page there is a drop down where you select from the customer table. Here you need all the customers, so there should be no limit on the query.
Many ways to handle this. Which one is preferred?
- separate “slim” query (id,name) without any pagination to use in drop downs.
- override the default pagination by setting a fixed number (1000) when getting data for drop downs.
Community Page
Last updated:
Last updated: