diff --git a/.changeset/dry-candles-design.md b/.changeset/dry-candles-design.md new file mode 100644 index 000000000..3ab1c907c --- /dev/null +++ b/.changeset/dry-candles-design.md @@ -0,0 +1,5 @@ +--- +"@logto/console": patch +--- + +support entering name while creating a user diff --git a/packages/console/src/pages/Users/components/CreateForm/index.tsx b/packages/console/src/pages/Users/components/CreateForm/index.tsx index 75218f8c2..ee0f4f3c8 100644 --- a/packages/console/src/pages/Users/components/CreateForm/index.tsx +++ b/packages/console/src/pages/Users/components/CreateForm/index.tsx @@ -191,6 +191,17 @@ function CreateForm({ onClose, onCreate }: Props) { error={errors.username?.message ?? Boolean(missingIdentifierError)} /> + + { + revalidateForm(); + }, + })} + placeholder={t('users.placeholder_name')} + error={errors.name?.message ?? Boolean(missingIdentifierError)} + /> + {missingIdentifierError &&
{missingIdentifierError}
}