admin
admin copied to clipboard
UI: Add pagination to `Select` component
What
We want to add pagination to the current Select component.
- Implementation could leverage something like: https://www.npmjs.com/package/react-select-async-paginate
- We want to achieve something like: https://codesandbox.io/s/o75rno2w65?file=/src/index.js
There is a naive implementation for this here: https://github.com/medusajs/admin/blob/master/src/domain/products/filter-dropdown.tsx#L77
But would definitely be nice to add something like the async paginate plugin