diff --git a/invokeai/frontend/web/src/features/nodes/components/InputFieldComponent.tsx b/invokeai/frontend/web/src/features/nodes/components/InputFieldComponent.tsx
index 6d8d23a123..4a1fa89eff 100644
--- a/invokeai/frontend/web/src/features/nodes/components/InputFieldComponent.tsx
+++ b/invokeai/frontend/web/src/features/nodes/components/InputFieldComponent.tsx
@@ -12,6 +12,7 @@ import NumberInputFieldComponent from './fields/NumberInputFieldComponent';
import StringInputFieldComponent from './fields/StringInputFieldComponent';
import ItemInputFieldComponent from './fields/ItemInputFieldComponent';
import ColorInputFieldComponent from './fields/ColorInputFieldComponent';
+import ItemInputFieldComponent from './fields/ItemInputFieldComponent';
type InputFieldComponentProps = {
nodeId: string;
@@ -137,6 +138,16 @@ const InputFieldComponent = (props: InputFieldComponentProps) => {
);
}
+ if (type === 'item' && template.type === 'item') {
+ return (
+
+ );
+ }
+
return Unknown field type: {type};
};
diff --git a/invokeai/frontend/web/src/features/nodes/util/fieldTemplateBuilders.ts b/invokeai/frontend/web/src/features/nodes/util/fieldTemplateBuilders.ts
index 77261209a9..020873fe81 100644
--- a/invokeai/frontend/web/src/features/nodes/util/fieldTemplateBuilders.ts
+++ b/invokeai/frontend/web/src/features/nodes/util/fieldTemplateBuilders.ts
@@ -360,6 +360,12 @@ export const buildInputFieldTemplate = (
if (['color'].includes(fieldType)) {
return buildColorInputFieldTemplate({ schemaObject, baseField });
}
+ if (['array'].includes(fieldType)) {
+ return buildArrayInputFieldTemplate({ schemaObject, baseField });
+ }
+ if (['item'].includes(fieldType)) {
+ return buildItemInputFieldTemplate({ schemaObject, baseField });
+ }
return;
};