-
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
bug: Angular Inline Sheet Modal are not updated #24502
Comments
Thanks for the issue! This issue has been labeled as In the meantime, please read our Winter Holiday Triage Guide for information on how to ensure that your issue is triaged correctly. Thank you! |
Thanks @Marius-Romanus for reporting this issue. There does appear to be an issue with dynamically changing the values bound within the I'll need to dig a little deeper into our inline usage to see if there's anywhere we are caching the template reference that is conflicting with how Angular triggers change detection on those projected templates. |
Allow template bindings to update with inline overlays. Resolves #24502
Allow template bindings to update with inline overlays. Resolves #24502
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
Ionic Framework Version
Current Behavior
CommonModule Angular directives for example ngFor or ngIf inside Inline Sheet Modal are not updated. I think because of ng-template. For example, you can't do a search and update the list.
Expected Behavior
Items should be updated.
Steps to Reproduce
Create an Inline Sheet Modal with a list with items and a ngFor, update the array.
Code Reproduction URL
https://github.com/Marius-Romanus/ionic-bug-modals-24502
https://stackblitz.com/edit/ionic-angular-v5-g9hhgc?file=src%2Fapp%2Fapp.component.ts
Ionic Info
Ionic:
Ionic CLI : 6.18.1
Utility:
cordova-res : not installed globally
native-run : 1.5.0
System:
NodeJS : v17.3.0
npm : 8.3.0
OS : Windows 10
Additional Information
No response
The text was updated successfully, but these errors were encountered: