Repository navigation
fix(slide-toggle): not updating model from toggle method - #11846
Conversation
|
I think we intentionally didn't emit the event when someone programmatically calls |
|
We definitely need to call at least |
|
Yeah, I think calling |
|
We shouldn't emit a change event unless there was a user interaction, similar to the native checkbox. I think mat-checkbox behaves this way. |
Fixes the slide toggle not propagating its value to the `ControlValueAccessor` when its value is changed through the `toggle` method. Fixes angular#11812.
4102f25 to
41aa96b
Compare
|
Changed. |
|
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 slide toggle not propagating its value to the
ControlValueAccessorwhen its value is changed through thetogglemethod.Fixes #11812.