fix: work item form tab index (#6588)

This commit is contained in:
Anmol Singh Bhatia 2025-02-11 17:36:54 +05:30 committed by GitHub
parent 7aa5b6aa91
commit 7ae841d525
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,7 +37,7 @@ export const IssueTitleInput: React.FC<TIssueTitleInputProps> = observer((props)
return undefined; return undefined;
}; };
return ( return (
<div tabIndex={getIndex("name")}> <div>
<Controller <Controller
control={control} control={control}
name="name" name="name"
@ -64,6 +64,7 @@ export const IssueTitleInput: React.FC<TIssueTitleInputProps> = observer((props)
placeholder={t("title")} placeholder={t("title")}
className="w-full text-base" className="w-full text-base"
autoFocus autoFocus
tabIndex={getIndex("name")}
/> />
)} )}
/> />