You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: componentProps of modalController does not work with Angular 17.1.0 signal inputs #28876
I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v7.x
Current Behavior
Passing componentProps (when using a modalController) throws an error when the input of the component is a signal (Input signals are a feature of Angular 17.1.0).
Expected Behavior
The componentProps should work even if the component input is a signal.
Steps to Reproduce
Create a component to pass to a modalController which has signal inputs.
Create a modal controller with componentProps that correspond to the component's input signals.
Open the modal and observe the results with dismay.
Woohoo! Can't wait for the 8.2 release. It will be good to finally move off of the dev version I've been using (not in production of course 😬). Thanks for your work on 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.
Activity
liamdebeasi commentedon Jan 25, 2024
Thanks! Here's a dev build with a fix:
7.6.2-dev.11706205501.196a5433Note that this is an Ionic 8 build and is subject to breaking changes.
ntorrey commentedon Jan 26, 2024
Seems to work now - thanks for the quick response!
liamdebeasi commentedon Jan 26, 2024
Thanks for testing! I'm going to keep this open until the linked PR is merged.
EinfachHans commentedon Apr 25, 2024
Just mentioned it has not been included in v8?
liamdebeasi commentedon Apr 25, 2024
No, the PR has not been merged.
SadraRahmani commentedon Apr 28, 2024
feat(angular): setting props on a signal works (#29453)
ntorrey commentedon May 9, 2024
Woohoo! Can't wait for the 8.2 release. It will be good to finally move off of the dev version I've been using (not in production of course 😬). Thanks for your work on this!
sean-perkins commentedon May 9, 2024
Thanks for reporting this issue! This has been resolved with #29453 and will be available in the next minor release 🎉
sean-perkins commentedon May 22, 2024
👋 this is now available in v8.2.0. Upgrade your apps and let us know if you experience any issues!
Edit:
This feature is opt-in, so be sure to update your Ionic config to include:
muuvmuuv commentedon May 22, 2024
Works! Thanks :)
ionitron-bot commentedon Jun 21, 2024
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.
ModalControlleris not compatible with Angular signal inputs #30784 as a duplicate of this issue