mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): improve error indicator for model fields
This commit is contained in:
parent
46d830b9fa
commit
acbf10f7ba
@ -46,9 +46,11 @@ const InputField = ({ nodeId, fieldName }: Props) => {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!doesFieldHaveValue && !isConnected && fieldTemplate.input === 'any') {
|
||||
if (!doesFieldHaveValue && !isConnected && fieldTemplate.input !== 'connection') {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false
|
||||
}, [fieldTemplate, isConnected, doesFieldHaveValue]);
|
||||
|
||||
if (!fieldTemplate || !fieldInstance) {
|
||||
|
Loading…
Reference in New Issue
Block a user