-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
feat: Alert handler should support a Promise #25700
Comments
This issue has been labeled as If you'd like to work on this issue, please comment here letting us know that you would like to submit a pull request for it. This helps us to keep track of the pull request and make sure there isn't duplicated effort. For a guide on how to create a pull request and test this project locally to see your changes, see our contributing documentation. Thank you! |
Resolves #25700 Co-authored-by: Sean Perkins <[email protected]>
This feature is completed and will be available in 6.3.0. This feature request will auto close once it is merged and released. Thanks Hans for the assist! |
Closing as it is completed via #25702. Only PRs that get merged into the default branch cause issues to autoclose it seems. |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Prerequisites
Describe the Feature Request
Many of the existing overlays already support a
Promise
to be used with thehandler
to control when the overlay dismisses. This is not available toion-alert
.This feature request is to add support to
ion-alert
to allow for a promise.Describe the Use Case
Performing an action in the handler callback that requires asynchronous behavior (performing an API call, waiting for user input, waiting a set duration).
Describe Preferred Solution
Describe Alternatives
No response
Related Code
No response
Additional Information
Split from PR #22518
The text was updated successfully, but these errors were encountered: