Can I disable asyncronous validation with redux form on form submit? -
this question specific redux-form.
i using asyncronous validation field don't want re-validate on form submit validation expensive.
i've looked @ github issue https://github.com/erikras/redux-form/issues/681 , suggestion memoize async validation function. don't want go server this, there way access store inside asyncvalidate?
from redux-form code, looks should possible check fields async errors inside handlesubmit
function, rather calling asyncvalidate()
. added configuration option redux-form?
v6.0.0-alpha.8
, released yesterday, introduced shouldasyncvalidate()
config parameter addresses specific issue.
Comments
Post a Comment