async-validator icon indicating copy to clipboard operation
async-validator copied to clipboard

Unhandled Rejection Error

Open hdnha11 opened this issue 8 years ago • 1 comments

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.

hdnha11 avatar Oct 15 '18 10:10 hdnha11

revert

yiminghe avatar Oct 17 '18 08:10 yiminghe