-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix(button-toggle): dirty on load when used with ngModel #4898
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
Conversation
Fixes the button toggle group being marked as dirty on load, if it has a ControlValueAccessor and an initial value. Fixes angular#4888.
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.
LGTM
@crisbeto It seems to me that the underlying problem is that value changes from any source lead to the forms API |
@crisbeto is this worth revisiting? |
Yeah it's been on my TODO list, but I was waiting for the refactoring to get in. |
Ack, we just have some failing tests in Firebase on the refactor I need to debug. Poke me on this when it's resolved |
@crisbeto Please rebase when you have a chance. |
Looks like the original issue got fixed by #9191. Closing. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Fixes the button toggle group being marked as dirty on load, if it has a ControlValueAccessor and an initial value.
Fixes #4888.