A form value can be an old one #98
Labels
effort-1: minutes
Will only take a few minutes to fix/create
released
scope: lib
Anything related to the library itself
state: has PR
A PR is available for that issue
type: bug/fix
This is a bug or at least needs a fix
workaround: none
No workaround
This is a tricky issue to repro and will probably only repro through a test to get the timing right.
But I just hit a case that drove me insane where my form was considered valid, while the value that was passed clearly wasn't.
@zakhenry and I identified the potential issue and it might be coming from the fact that we do:
But apparently that value coming from the form might not be mutated like I thought it'd and thus, the validity check would succeed on the RootFormComponent because the form might now be valid while sending the previous value.
The text was updated successfully, but these errors were encountered: