Repository navigation
Conversation
28ed1e0 to
f07d48f
Compare
|
Presubmit (internal-only link) to gather some data as requested in #43499 (comment). |
AndrewKushnir
left a comment
There was a problem hiding this comment.
@crisbeto I've just left one comment about another directive that would need an update. Please have a look when you get a chance.
I've also got some news after running a global presubmit. You were correct, the change is not as break-y as #35311 and there was just 1 failing target that would require investigation/cleanup. We'll provide more info after initial investigation.
// cc @dylhunn
|
I'll have a look at this later this afternoon, sorry I didn't see the mention yesterday! |
… disabled Fixes a long-standing issue where swapping out the `FormGroup` and calling `disable` immediately afterwards doesn't actually disable the `ControlValueAccessor`. Fixes angular#22556.
f07d48f to
9bf293e
Compare
|
@AndrewKushnir Do you have a link to the failing target from the TGP? |
@dylhunn yes, see #43499 (comment). |
|
I had some difficulty understanding why this breaks the failing target, unfortunately. I will allocate some more time to try to figure it out on Monday. Sorry I don't have an answer yet. |
|
@crisbeto Since you're a Googler now, do you want to take over the presubmit on this? Sorry I let it drag for so long. |
|
Sure, I ran a presubmit for it some time ago, but I haven't had the time to investigate it either. |
|
Could we have some progress on this? |
|
This is sort of a half-fix, as @crisbeto described: it fixes the issue if an enabled control is swapped for a disabled one, but not vice versa. However, this "half" of the fix by far the more impactful half, and it should be a lot less breaking. I think we should merge this for v14 if the breakage isn't too bad. I'll check back tomorrow and assess the fresh TGP. |
|
I ran a fresh TGP, and there is only one failing target in all of google3. It looks like it should be easy to fix, and then I think we can just merge this. I will have a look later today. |
|
Merge is blocked on cl/437323972 |
|
The g3 fix has been merged. |
|
This PR was merged into the repository by commit b36dec6. |
… disabled (angular#43499) Fixes a long-standing issue where swapping out the `FormGroup` and calling `disable` immediately afterwards doesn't actually disable the `ControlValueAccessor`. Fixes angular#22556. PR Close angular#43499
|
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 a long-standing issue where swapping out the
FormGroupand callingdisableimmediately afterwards doesn't actually disable theControlValueAccessor.Fixes #22556.