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

add setCloseOnButtonClick(boolean close) #120

Closed
piemmm opened this issue Dec 12, 2018 · 2 comments
Closed

add setCloseOnButtonClick(boolean close) #120

piemmm opened this issue Dec 12, 2018 · 2 comments
Labels
enhancement New feature or request flow

Comments

@piemmm
Copy link

piemmm commented Dec 12, 2018

Aside from using my own buttons, it would be nice if there was a set method to disable the auto-close of the dialog when a confirm button is clicked.

I could use my own buttons, but that's a lot more bloat rather than simply setting a boolean

something like:

setCloseOnButtonClick(boolean enabled);

There may be use-cases where you would also want this on the cancel button, though that may simply be a convenient abuse of how a dialog should work.

@vaadin-bot vaadin-bot transferred this issue from vaadin/vaadin-confirm-dialog-flow Oct 6, 2020
@vaadin-bot vaadin-bot added enhancement New feature or request flow labels Oct 6, 2020
@javier-godoy
Copy link
Contributor

@web-padawan
Copy link
Member

Thanks @javier-godoy. This issue indeed appears to be a duplicate of #117, so let's discuss it there. Closing this issue.

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

No branches or pull requests

4 participants