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

Allow application to specify custom method to show the confirm modal #2

Merged
merged 1 commit into from
Mar 14, 2023
Merged

Allow application to specify custom method to show the confirm modal #2

merged 1 commit into from
Mar 14, 2023

Conversation

gap777
Copy link
Contributor

@gap777 gap777 commented Mar 14, 2023

We use shoelace dialogs to hold our confirm modals.... they aren't made visible by attaching a class; they need an event or JS trigger. Allow the application itself to configure a callback to show the modal.

@gap777 gap777 changed the title Add configuration item to allow application to specify custom method … Allow application to specify custom method to show the confirm modal Mar 14, 2023
Copy link
Member

@Jeremy-Walton Jeremy-Walton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I would probably add a note in the README about this and include an example.

Copy link
Member

@OutlawAndy OutlawAndy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me. Thanks for this!

@Jeremy-Walton Jeremy-Walton merged commit bbcbb09 into RoleModel:main Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants