Skip to content

Commit

Permalink
Merge pull request #244 from neongrau/release/2.2
Browse files Browse the repository at this point in the history
fix? form fields not rendered
  • Loading branch information
wparad authored Mar 13, 2024
2 parents 704e084 + 51dc8a2 commit 3c6213a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/request-form-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ function generateFormRows(data, options, dataType = 'object', key = '', descript

// For Primitive Data types
const parsedData = JSON.parse(data);
return generatePrimitiveRow.call(this, parsedData, { key, keyLabel, keyDescr, description, dataType, isRequired, options });
return Array.from(
generatePrimitiveRow.call(this, parsedData, { key, keyLabel, keyDescr, description, dataType, isRequired, options })
);
}

function generatePrimitiveRow(rowData, parentRecursionOptions) {
Expand Down

0 comments on commit 3c6213a

Please sign in to comment.