-
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: declarative ion-modal (angular) #20117
Comments
Another case to make is similar to an issue we are currently experiencing. While the current 'solution' works in non-production, the moment AOT tries to compile templates, the builder fails to resolve |
Thanks for the issue. This has been resolved via #23341, and you will be able to use modals declaratively in Ionic Framework v6. We will have updated docs that show you how to do this. |
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. |
Feature Request
Ionic version:
[x] 4.x
Describe the Feature Request
Make an option to open a modal window in template. It will allow devs to work with modals in a reactive way, Ionic for React is already working like this. Right now modal can be opened only programmatically with modal controller, it makes inconvenient to controlling modal state in reactive angular applications and reacting on data changes with OnPush. Also there is no way to pass template to the modal controller, only component's class.
Describe Preferred Solution
Would be great if we will be able to do things like this:
The text was updated successfully, but these errors were encountered: