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

Supporting prompt #4134

Closed
alexandrev opened this issue Jan 16, 2016 · 3 comments
Closed

Supporting prompt #4134

alexandrev opened this issue Jan 16, 2016 · 3 comments

Comments

@alexandrev
Copy link

I have seen that you close another issue related to this one about including prompt as an option inside your API to show dialog. I don't know why is the reason to discard this basic function, but I think you should reconsider it because it's a basic feature that make you discard this API or use different API to fulfill your needs.

Please, introduce an option to prompt a value to the user in the dialog API.

Thx,

@ghost
Copy link

ghost commented Jan 17, 2016

@alexandrev Prompt dialogs have their own limitations, so it's rather simpler to implement new BrowserWindow with custom html form inside.

@alexandrev
Copy link
Author

HI @dkfiresky. You are probably right but that happens with any other dialog and I don't think the solution is to create your own component for everything (new browser with custom html code is custom component).

That's a solution that doesn't create any problem to the electron API and it is supported for most of the other API's or even for all the languages.

@zcbenz
Copy link
Member

zcbenz commented Jan 17, 2016

The reason why this is not supported has been explained in #472 (comment), I don't think it worths any effort to implement it.

I'm locking this since this is an exact duplicate of #472, we should limit the discussion in one issue.

@zcbenz zcbenz closed this as completed Jan 17, 2016
@electron electron locked and limited conversation to collaborators Jan 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants