Reputation: 5297
Redux form async validation is quite nice, however I want to somehow indicate that the asynchronous validation has succeeded. Basically what I want:
However all I have is asyncValidating
prop, and I can't change local state in render
method. I could dispatch redux action and keep every field async success state, but I use redux-form exactly to avoid managing form state myself.
I've hacked a little example here, by passing "true" as an error value and showing "success" message when the async validation passes.
Upvotes: 0
Views: 932