bug fix, for validation

This commit is contained in:
Edin Dazdarevic
2015-03-05 22:34:43 +01:00
parent b47a90b476
commit 6661e50991

View File

@@ -63,6 +63,7 @@ var RibicaValidationMixin = {
return Object.keys(errors).length === 0;
},
componentDidMount : function(){
this.setState({errors: {}});
if (this.validations) {
var self = this;
this.validations.getState = function() {