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

Addition of confirmation dialog for button events #212

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Cipulot
Copy link

@Cipulot Cipulot commented Dec 6, 2023

This commit aims to provide a confirmation dialog in the browser when clicking on a button in Custom UI
This helps in cases the button is bound to some actions at the keyboard level that might cause data losses or resets.

The addition of the dialog box prevents the execution of the functions unless a confirmation is given.
The action name shown in the dialog text is dynamic and takes the name associated with the button.

Here's an example:
Screenshot 2023-12-06 at 1 19 21 AM

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

Successfully merging this pull request may close these issues.

None yet

1 participant