-
Notifications
You must be signed in to change notification settings - Fork 4.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
Dynamic Dialog: Fixed errors when is opened #13502
Dynamic Dialog: Fixed errors when is opened #13502
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
I'm not sure if changing the change detection is the best solution here. It could bring some unforeseen consequences. |
Thanks for check @MarcinBorowski95. In the issue post I said I don't know if it the best solution: I will try your solution and generate a new PR if continue working good. |
Hi @MarcinBorowski95 I'm doing your way: And it's true, works and no generate the error but now I have a doubt about this: With your way we have same values on init and in the way of PrimeNG were different. I don't know if it's correct or not but the error don't show like you said. If I understood wrong, let me know and thanks again |
I think this is still better. And if different id's are necessary then I guess two values can be generated. It will still be more optimized and less prone to bad change detection issues. |
Thanks again bro. I added '_title' to the second one, just in case need to be different I will do the PR doing a mention to you :) |
Happy to help 😁 |
Here you have the PR, I cannot mentioned directly but I wrote your profile. |
Fix #13497
Changed the changeDetection to
onPush
solves the problem. I don't know if it's the best solution. If you have another, let me know.Note: Ignore the warning message
responsive property is deprecated as table is always responsive with scrollable behavior.
CURRENT BEHAVIOUR
AFTER SOLUTION