Repository navigation
fix(button-toggle): static checked value not being picked up - #18442
Merged
jelbourn merged 1 commit intoApr 23, 2020
Merged
Conversation
crisbeto
commented
Feb 9, 2020
| // The `deferEvents` flag allows us to decide whether to do it on a case-by-case basis. | ||
| if (deferEvents) { | ||
| Promise.resolve(() => this._updateModelValue(isUserInput)); | ||
| Promise.resolve().then(() => this._updateModelValue(isUserInput)); |
Member
Author
There was a problem hiding this comment.
This change has nothing to do with the fix, but I noticed that it wasn't actually doing anything so I fixed it.
Fixes the static checked value of a button toggle not having an effect in Ivy, because it ends up being assigned earlier than we expect. This is a side effect of the circular dependency between the toggle group and the toggle which should be cleaned up at some point, because it's not the first time it has caused issues with things going out of sync. Fixes angular#18427.
crisbeto
force-pushed
the
18427/button-toggle-static-checked
branch
from
March 1, 2020 16:44
96a9414 to
dd80da5
Compare
jelbourn
pushed a commit
that referenced
this pull request
Apr 23, 2020
Fixes the static checked value of a button toggle not having an effect in Ivy, because it ends up being assigned earlier than we expect. This is a side effect of the circular dependency between the toggle group and the toggle which should be cleaned up at some point, because it's not the first time it has caused issues with things going out of sync. Fixes #18427.
soro-google
pushed a commit
to soro-google/components
that referenced
this pull request
Apr 24, 2020
…#18442) Fixes the static checked value of a button toggle not having an effect in Ivy, because it ends up being assigned earlier than we expect. This is a side effect of the circular dependency between the toggle group and the toggle which should be cleaned up at some point, because it's not the first time it has caused issues with things going out of sync. Fixes angular#18427.
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the static checked value of a button toggle not having an effect in Ivy, because it ends up being assigned earlier than we expect. This is a side effect of the circular dependency between the toggle group and the toggle which should be cleaned up at some point, because it's not the first time it has caused issues with things going out of sync.
Fixes #18427.