-
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
fix(angular forms): make sure angular form control onChange is fired when needed #16126
Conversation
* Whether onChange should be mutted (not be fired). Will be true only when writeValue was called, which | ||
* means that value changed inside angular form (e.g. calling setValue on a control). | ||
*/ | ||
private muteOnChange: boolean; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would give it a value by default
private muteOnChange: boolean; | |
private muteOnChange = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry i meant this change for all the accessors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ups, my fault. Done!
…cessor.ts Co-Authored-By: mmlleevvyy <[email protected]>
Thanks a lot for the PR!! |
Short description of what this resolves:
Fixes #16125
Changes proposed in this pull request:
Ionic Version: 1.x / 2.x / 3.x / 4.x
Fixes: #