react-form-validation icon indicating copy to clipboard operation
react-form-validation copied to clipboard

Object like errors information

Open semmiverian opened this issue 6 years ago • 0 comments

Right know to get the object from errors classes we need to use this code

error = errors.get("email")

it will be great if we can fetch the error using object method like

error = errors.email 

or

error = errors[email]

semmiverian avatar Jun 26 '18 02:06 semmiverian