Closed Sicria closed 4 years ago
Thanks for submitting an issue. My guess is this behavior changed in v5.4.0.
For your use case I'm not sure I understand what is the desired behavior and whether the new async/promise support mentioned in the docs would help your particular use case?
After updating from
5.3.0
>5.6.0
the decorator now does not return the value of a promise.The
onSubmit
function above returns a promise which returns an error to display submission errors viareact-final-form
. If the decorator is used this error does not get reported as the value isn't passed through.