0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00

Merge pull request #363 from logto-io/charles-fix-mismatched-form-field-registry

fix(console): correct form field registry
This commit is contained in:
Charles Zhao 2022-03-11 11:00:54 +08:00 committed by GitHub
commit 6ca03413be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -81,9 +81,9 @@ const CreateForm = ({ onClose }: Props) => {
title="admin_console.applications.application_description"
className={styles.textField}
>
<TextInput />
<TextInput {...register('description')} />
</FormField>
<div className={styles.submit} {...register('description')}>
<div className={styles.submit}>
<Button
htmlType="submit"
title="admin_console.applications.create"