async-validator
async-validator copied to clipboard
Unhandled Rejection Error
Version
1.9.0
Reproduction link
https://codesandbox.io/s/xlm44rjm3o
Steps to reproduce
Call validate function with invalid data.
What is expected?
The API should backward compatible with the old version, the one doesn't use promise.
What is actually happening?
Unhandled Rejection was thrown.
Context
I am currently using ant-design form validation, with this latest version of async-validator there are a lot of Unhandled Rejection errors in the console which didn't happen in the past.
revert