Skip to content

Selectbox Component with Cursor Pagination #6266

@PhucHuyy

Description

@PhucHuyy

Hi everyone.
I’m working with a select box and I’m running into an issue. Currently, the API returns quite a lot of data (around 1,000 records). I want to handle this using cursor pagination. That means the first request will return limit=20 (20 records), and when the user scrolls to the end, I’ll take the nextCursor from the API and send another request with limit=20 plus the parameter nextCursor=xxxx.
I’m not sure whether this approach is feasible. If there’s a better solution for Formio, please suggest an appropriate approach. Thank you, everyone.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions