diff --git a/invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/InputField.tsx b/invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/InputField.tsx index 49441ac138..adda415d6d 100644 --- a/invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/InputField.tsx +++ b/invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/InputField.tsx @@ -46,11 +46,15 @@ const InputField = ({ nodeId, fieldName }: Props) => { return true; } - if (!doesFieldHaveValue && !isConnected && fieldTemplate.input !== 'connection') { + if ( + !doesFieldHaveValue && + !isConnected && + fieldTemplate.input !== 'connection' + ) { return true; } - return false + return false; }, [fieldTemplate, isConnected, doesFieldHaveValue]); if (!fieldTemplate || !fieldInstance) {