form
form copied to clipboard
Change error to warning and add suppressWarning support
-
console.error
should not be used like this because it is hard to run tests with error logs. async-validator is using warnings andrc-form
should reflect the same strategy. -
Adding suppressWarning support as async-validator to remove warnings when needed in tests suites.