redux form - Get error values of fields -


i wanted error values names of fields in form. wanted show "form-level" error saying "you need go @ field" , clicking individual messages scroll them field.

i haven't been able figure out how other "form-level" error this.props.error.

i had similar requirement , used getformsyncerrors selector returns object keys name of invalid fields , values corresponding error:

{   recipientaddress: "required",    recipientcity: "required",    recipientzip: "required" } 

Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -