form
form copied to clipboard
Add an API to set errors
field.setErrorMap();
We cannot provide a
setErrorsAPI as it derives that state from theerrorMap
And:
form.resetErrors();
I'm less certain about this API. Why do we need it? CC @samuelthng