moeen-basra / ree-validate

Simple React.js input validation plugin extended from vee-validate
MIT License
16 stars 4 forks source link

How to validate object values #10

Closed mnksingh1996 closed 5 years ago

mnksingh1996 commented 5 years ago

Versions:

Description:

lets say we have an object this.state = { a : { name: "", age: "" } }

So i can validate on blur but when i try to trigger this.validate.validateAll() it will miss those inside the objects.

Steps To Reproduce:

moeen-basra commented 5 years ago

This is not supported yet you need to attach the fields you want to validate and on change you need to call the validate method on all or for specific field.