We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd09d33 commit e488733Copy full SHA for e488733
form.js
@@ -57,7 +57,8 @@ export default class Form extends React.Component {
57
renderChildren(children) {
58
return React.Children.map(children, child => {
59
if (!child || !child.props) return child;
60
- if (child.children) return this.renderChildren(children);
+ if (child.props.children)
61
+ return this.renderChildren(child.props.children);
62
63
let { values, errors } = this.state;
64
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "react-validify",
3
- "version": "0.0.8",
+ "version": "0.0.9",
4
"description": "Form validation made easy",
5
"main": "dist/form.js",
6
"directories": {
0 commit comments