Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] support pagination for select #118

Closed
sonyarianto opened this issue Apr 16, 2023 · 2 comments · Fixed by #129
Closed

[Request] support pagination for select #118

sonyarianto opened this issue Apr 16, 2023 · 2 comments · Fixed by #129
Labels
enhancement New feature or request

Comments

@sonyarianto
Copy link

sonyarianto commented Apr 16, 2023

Is your feature request related to a problem? Please describe.
I am using select like this.

const selectedMenuValue = await select({
    message: "Options",
    options: options,
  });

my options is quite big, I know this is not good idea

Describe the solution you'd like
Is there any pagination feature to auto split the options so in the options will be automatically added such as "More options" so user can navigate the large options.

@sonyarianto
Copy link
Author

sonyarianto commented Aug 9, 2023

wow this is nice, will implement this on my project, thanks Clack team

@cpreston321
Copy link
Collaborator

@sonyarianto This will be included in the next release.

Thanks,
CP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants