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

Select Prompt with horizontal and vertical choices #224

Closed
pke opened this issue Oct 31, 2019 · 2 comments
Closed

Select Prompt with horizontal and vertical choices #224

pke opened this issue Oct 31, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@pke
Copy link

pke commented Oct 31, 2019

I wonder if its possible to implement a select that displays like this, where one can also select horizontally on option 1:

> [1.1] [1.2]
  [2]
  [3]

With this kind of choices:

{
 type: "select",
 choices: [["1.1","1.2"],"2","3"]
}

Maybe this is possible using a custom nested prompt?

@terkelg terkelg added the enhancement New feature or request label Nov 1, 2019
@terkelg
Copy link
Owner

terkelg commented Nov 1, 2019

Thank you for the suggestion @pke. I think this could be a future prompt type for sure. I'm going to mark this as enhancement and close it for now. I want to keep focus on the next release of prompts which is going to make it even easier to make new prompt types in the future

@terkelg terkelg closed this as completed Nov 1, 2019
@pke
Copy link
Author

pke commented Nov 11, 2019

Looking forward to the new release.

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

No branches or pull requests

2 participants