mirror of
https://github.com/hexastack/hexabot
synced 2025-02-23 04:48:51 +00:00
fix(frontend): add missing autofocus for content add edit dialogs
This commit is contained in:
parent
84f25ecfb1
commit
bc5d6d3303
@ -68,6 +68,7 @@ const ContentFieldInput: React.FC<ContentFieldInput> = ({
|
||||
case ContentFieldType.URL:
|
||||
return (
|
||||
<Input
|
||||
autoFocus
|
||||
multiline={contentField.type === ContentFieldType.TEXTAREA}
|
||||
rows={contentField.type === ContentFieldType.TEXTAREA ? 5 : 1}
|
||||
label={t(`label.${contentField.name}`, {
|
||||
|
Loading…
Reference in New Issue
Block a user