-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Multiple disabledWhile on same formGroup #112
Labels
question
Further information is requested
Comments
It's not clear to me what the issue is. Try reproducing it on codesandbox or stackblitz. |
In this case, we're just passing the result of the observable to Angular. Check if the behavior is the same when using plain Angular. |
I guess so, that's why I asked if this was intended. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this a regression?
No
Description
There are two different conditions to apply on a form: disable it whole and disable a certain control.
Thus, I use
form.disabledWhile(conditionFoo$)
and thenform.control.foo.disabledWhile(conditionBar$)
.It appears that
conditionFoo$
emit overwrites any existing control conditions so that ifconditionBar$
doesn't emit right after theconditionFoo$
emit the control never gets correctly disabled/enabled.Is it intended?
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in
No response
Anything else?
No response
Do you want to create a pull request?
No
The text was updated successfully, but these errors were encountered: