Skip to content

Commit

Permalink
Merge pull request #7 from lzientek/patch-1
Browse files Browse the repository at this point in the history
valueProp other than value bug solving
  • Loading branch information
vishalvisd authored May 6, 2017
2 parents 7669cc3 + 8644ba0 commit 9fd1a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class Validation extends Component {
this.baseProps[this.props.valueProp] = props.children.props[this.props.valueProp];
this.currentChildValue = props.children.props[this.props.valueProp];
freshRendered = true;
this.testValidity(props.children.props.value);
this.testValidity(this.currentChildValue);
}
}
}
Expand Down

0 comments on commit 9fd1a22

Please sign in to comment.