mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat: Update 'style' string input to also display text area
This commit is contained in:
parent
8a0e1b6cfc
commit
8e06e6abbc
@ -26,8 +26,8 @@ const StringInputFieldComponent = (
|
||||
);
|
||||
};
|
||||
|
||||
return field.name.toLowerCase() === 'prompt' ? (
|
||||
<Textarea onChange={handleValueChanged} value={field.value} rows={5} />
|
||||
return ['prompt', 'style'].includes(field.name.toLowerCase()) ? (
|
||||
<Textarea onChange={handleValueChanged} value={field.value} rows={2} />
|
||||
) : (
|
||||
<Input onChange={handleValueChanged} value={field.value} />
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user