jurassix / react-validation-mixin

Simple validation mixin (HoC) for React.
MIT License
283 stars 38 forks source link

Support nested state validation #11

Closed ivan-kleshnin closed 9 years ago

ivan-kleshnin commented 9 years ago

Now is not described how to implement, neither works :(

var nextErrors = Object.assign({}, this.state.errors, ValidationFactory.validate(schema, data, key));

does not resets error messages, after revalidation with correct data input, because nested keys like model.username is not properly supported.

I'm working on this right now...