I'm setting up a form similar to the one in http://redux-form.com/6.0.2/examples/syncValidation/ but I'm using the initialize action creator to initialize its values. If I initialize it using values that are invalid (i.e., that make my validate()
function return errors) and I then use the isValid
state selector, isValid
returns true
while I would expect it to return false
.
If I type a character into one of my form fields and then call isValid
it then returns false
as it should.
Am I missing something here? If I initialize a form with invalid values and then call isValid
I would expect it to return false
regardless of whether the user has modified those values in any way.
Thanks!
I have the same problem.. with an empty form ... the first time the form is render it validate correctly .. then I run props.reset() and the next submit never call the validate function
Closing due to inactivity.
In case you still have problems, please open a formal bug report.
Otherwise, please ask for help at StackOverflow.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
I have the same problem.. with an empty form ... the first time the form is render it validate correctly .. then I run props.reset() and the next submit never call the validate function