diff --git a/src/autoform.js b/src/autoform.js index f41ab99..15adac0 100644 --- a/src/autoform.js +++ b/src/autoform.js @@ -623,7 +623,7 @@ class ReactAutoForm extends React.Component { } return ( -
+ { Object.keys(this.schema).map((fieldName) => { // Loop through each schema object return this.processField(this.schema[fieldName], fieldName); // Return the form element