mirror of
https://github.com/logto-io/logto.git
synced 2025-01-20 21:32:31 -05:00
refactor(console): auto focus on the email field when creating user (#5276)
This commit is contained in:
parent
59f67c7ea7
commit
54b3ff2620
1 changed files with 2 additions and 0 deletions
|
@ -146,6 +146,8 @@ function CreateForm({ onClose, onCreate }: Props) {
|
|||
<form>
|
||||
<FormField title="user_details.field_email">
|
||||
<TextInput
|
||||
// eslint-disable-next-line jsx-a11y/no-autofocus
|
||||
autoFocus
|
||||
{...register('primaryEmail', {
|
||||
pattern: {
|
||||
value: emailRegEx,
|
||||
|
|
Loading…
Add table
Reference in a new issue