diff --git a/invokeai/frontend/web/src/features/nodes/components/sidePanel/viewMode/WorkflowField.tsx b/invokeai/frontend/web/src/features/nodes/components/sidePanel/viewMode/WorkflowField.tsx index 0e5857933a..e707dd4f54 100644 --- a/invokeai/frontend/web/src/features/nodes/components/sidePanel/viewMode/WorkflowField.tsx +++ b/invokeai/frontend/web/src/features/nodes/components/sidePanel/viewMode/WorkflowField.tsx @@ -16,7 +16,7 @@ type Props = { const WorkflowField = ({ nodeId, fieldName }: Props) => { const label = useFieldLabel(nodeId, fieldName); - const fieldTemplateTitle = useFieldTemplateTitle(nodeId, fieldName, 'input'); + const fieldTemplateTitle = useFieldTemplateTitle(nodeId, fieldName, 'inputs'); const { isValueChanged, onReset } = useFieldOriginalValue(nodeId, fieldName); return ( @@ -36,7 +36,7 @@ const WorkflowField = ({ nodeId, fieldName }: Props) => { /> )} } + label={} openDelay={HANDLE_TOOLTIP_OPEN_DELAY} placement="top" > diff --git a/invokeai/frontend/web/src/features/nodes/util/schema/parseFieldType.test.ts b/invokeai/frontend/web/src/features/nodes/util/schema/parseFieldType.test.ts index 2f4ce48a32..d7011ad6f8 100644 --- a/invokeai/frontend/web/src/features/nodes/util/schema/parseFieldType.test.ts +++ b/invokeai/frontend/web/src/features/nodes/util/schema/parseFieldType.test.ts @@ -284,13 +284,13 @@ describe('refObjectToSchemaName', async () => { }); describe.concurrent('parseFieldType', async () => { - it.each(primitiveTypes)('parses primitive types ($name)', ({ schema, expected }) => { + it.each(primitiveTypes)('parses primitive types ($name)', ({ schema, expected }: ParseFieldTypeTestCase) => { expect(parseFieldType(schema)).toEqual(expected); }); - it.each(complexTypes)('parses complex types ($name)', ({ schema, expected }) => { + it.each(complexTypes)('parses complex types ($name)', ({ schema, expected }: ParseFieldTypeTestCase) => { expect(parseFieldType(schema)).toEqual(expected); }); - it.each(specialCases)('parses special case types ($name)', ({ schema, expected }) => { + it.each(specialCases)('parses special case types ($name)', ({ schema, expected }: ParseFieldTypeTestCase) => { expect(parseFieldType(schema)).toEqual(expected); });