-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
MatSlideToggle: ngModel & [disabled] gives error #12323
Labels
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Comments
Thanks for the issue. Good catch. The same happens for the |
devversion
added a commit
to devversion/material2
that referenced
this issue
Jul 23, 2018
* Fixes that Angular throws an `ExpressionChangedAfterItHasBeenCheckedError` when disabling the slide-toggle while the component has been focused. Fixes angular#12323
devversion
added a commit
to devversion/material2
that referenced
this issue
Jul 23, 2018
* Fixes that Angular throws an ExpressionChangedAfterItHasBeenCheckedError when disabling the checkbox while the component has been focused. * Adds missing test for `NgModel` states after value change through view. Related angular#12323
devversion
added a commit
to devversion/material2
that referenced
this issue
Jul 24, 2018
* Fixes that Angular throws an ExpressionChangedAfterItHasBeenCheckedError when disabling the checkbox while the component has been focused. * Adds missing test for `NgModel` states after value change through view. Related angular#12323
devversion
added a commit
to devversion/material2
that referenced
this issue
Jul 25, 2018
* Fixes that Angular throws an `ExpressionChangedAfterItHasBeenCheckedError` when disabling the slide-toggle while the component has been focused. Fixes angular#12323
devversion
added a commit
to devversion/material2
that referenced
this issue
Jul 25, 2018
* Fixes that Angular throws an ExpressionChangedAfterItHasBeenCheckedError when disabling the checkbox while the component has been focused. * Adds missing test for `NgModel` states after value change through view. Related angular#12323
jelbourn
pushed a commit
that referenced
this issue
Aug 1, 2018
* Fixes that Angular throws an ExpressionChangedAfterItHasBeenCheckedError when disabling the checkbox while the component has been focused. * Adds missing test for `NgModel` states after value change through view. Related #12323
jelbourn
pushed a commit
that referenced
this issue
Aug 1, 2018
Fixes Angular throwing an `ExpressionChangedAfterItHasBeenCheckedError` when disabling the slide-toggle while the component has been focused. Fixes #12323
jelbourn
pushed a commit
that referenced
this issue
Aug 7, 2018
* Fixes that Angular throws an ExpressionChangedAfterItHasBeenCheckedError when disabling the checkbox while the component has been focused. * Adds missing test for `NgModel` states after value change through view. Related #12323
jelbourn
pushed a commit
that referenced
this issue
Aug 7, 2018
Fixes Angular throwing an `ExpressionChangedAfterItHasBeenCheckedError` when disabling the slide-toggle while the component has been focused. Fixes #12323
jelbourn
pushed a commit
that referenced
this issue
Aug 7, 2018
* Fixes that Angular throws an ExpressionChangedAfterItHasBeenCheckedError when disabling the checkbox while the component has been focused. * Adds missing test for `NgModel` states after value change through view. Related #12323
jelbourn
pushed a commit
that referenced
this issue
Aug 7, 2018
Fixes Angular throwing an `ExpressionChangedAfterItHasBeenCheckedError` when disabling the slide-toggle while the component has been focused. Fixes #12323
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Bug, feature request, or proposal:
Bug
What is the expected behavior?
ngModel should work with combination with disabled input.
What is the current behavior?
When I use a combination of those two and change the value of the disabled input on the update the I get an error in console (even that the component works correctly).
What are the steps to reproduce?
My DOM:
My component (the change event):
The event works but the slide-toggle fails to come back from the disabled state and I get this error in the console:
Also here's a working link that can replicate the error: https://stackblitz.com/edit/angular-bn4cr8
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
The text was updated successfully, but these errors were encountered: