in my app I'm using a BehaviourSubject which I toggle value to update a MatCheckbox. only problem is that the value doesn't get updated to the correct value, in this StackBlitz the value of isChecked is supposed to be setted instantely to false each time I check the checkbox but the value don't get updated on the checkbox.
I've been looking over internet without seeing an answer to my case
EDIT:
for the moment I've been able to achieve what I want by adding setTimeout(() => this.isChecked = false, 500) in the subscribe method.
I check your code, you are updating
isCheckedvalue twice, one inside thechange()method & second inside thesubscribe()method, what kind of implementation you have done so far, it's working fine with respect to that.Now what you want try to achieve? please let me know! If your intension is just to update the
isCheckedvalue, thenchange()is enough for that,