From 7f0dfe144e497eb494075179283e48c0394d3cf6 Mon Sep 17 00:00:00 2001 From: Martin Dahlgren Date: Sat, 4 Jun 2016 23:29:09 +0200 Subject: [PATCH] Update autoform.js Tiny bug in autoform.js --- src/autoform.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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