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

InputDialog to allow for several values #12801

Closed
luis-chaves-visa opened this issue Jul 13, 2022 · 2 comments
Closed

InputDialog to allow for several values #12801

luis-chaves-visa opened this issue Jul 13, 2022 · 2 comments
Labels
enhancement status:Needs Triage Applied to new issues that need triage

Comments

@luis-chaves-visa
Copy link

Problem

Hi I'd like to request several values to the user via a jupyterlab extension. I am not sure this is currently supported in: https://github.com/jupyterlab/jupyterlab/blob/master/packages/apputils/src/inputdialog.ts

But I think it'd be a great feature

@welcome
Copy link

welcome bot commented Jul 13, 2022

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to new issues that need triage label Jul 13, 2022
@JasonWeill
Copy link
Contributor

Although there is no shortcut to display a dialog box with multiple inputs, you can pass in a Widget that has multiple inputs and that has a function to return a value that is a composite of multiple inputs. The dialog box will then display multiple inputs. I have done this for a project that is not yet available publicly.

If you display a more complex dialog box in this way, be sure to test it on multiple devices, including mobile devices, to ensure that it displays properly on smaller screens.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement status:Needs Triage Applied to new issues that need triage
Projects
None yet
Development

No branches or pull requests

2 participants