diff --git a/.changeset/wise-files-study.md b/.changeset/wise-files-study.md new file mode 100644 index 000000000..9eaff2357 --- /dev/null +++ b/.changeset/wise-files-study.md @@ -0,0 +1,5 @@ +--- +'@orchestrator-ui/orchestrator-ui-components': patch +--- + +Add summary field to Object field type in AutoFieldLoader diff --git a/packages/orchestrator-ui-components/src/components/WfoForms/AutoFieldLoader.tsx b/packages/orchestrator-ui-components/src/components/WfoForms/AutoFieldLoader.tsx index 255cbfbbc..6f679b0c8 100644 --- a/packages/orchestrator-ui-components/src/components/WfoForms/AutoFieldLoader.tsx +++ b/packages/orchestrator-ui-components/src/components/WfoForms/AutoFieldLoader.tsx @@ -55,6 +55,8 @@ export function autoFieldFunction( switch (format) { case 'optGroup': return OptGroupField; + case 'summary': + return SummaryField; } break; case String: