admin icon indicating copy to clipboard operation
admin copied to clipboard

UI: Add pagination to `Select` component

Open kasperkristensen opened this issue 3 years ago • 1 comments

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

kasperkristensen avatar Apr 13 '22 12:04 kasperkristensen

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

srindom avatar Apr 14 '22 08:04 srindom