0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00

fix(console): add textField class to application details formfields (#489)

This commit is contained in:
Wang Sijie 2022-04-01 17:23:50 +08:00 committed by GitHub
parent efdb24833e
commit 3ac019c4b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,16 +98,27 @@ const ApplicationDetails = () => {
const SettingsPage = oidcConfig && (
<>
<FormField isRequired title="admin_console.application_details.application_name">
<FormField
isRequired
title="admin_console.application_details.application_name"
className={styles.textField}
>
<TextInput {...register('name', { required: true })} />
</FormField>
<FormField title="admin_console.application_details.description">
<FormField title="admin_console.application_details.description" className={styles.textField}>
<TextInput {...register('description')} />
</FormField>
<FormField title="admin_console.application_details.authorization_endpoint">
<FormField
title="admin_console.application_details.authorization_endpoint"
className={styles.textField}
>
<CopyToClipboard className={styles.textField} value={oidcConfig.authorization_endpoint} />
</FormField>
<FormField isRequired title="admin_console.application_details.redirect_uri">
<FormField
isRequired
title="admin_console.application_details.redirect_uri"
className={styles.textField}
>
<Controller
name="oidcClientMetadata.redirectUris"
control={control}
@ -130,7 +141,10 @@ const ApplicationDetails = () => {
)}
/>
</FormField>
<FormField title="admin_console.application_details.post_sign_out_redirect_uri">
<FormField
title="admin_console.application_details.post_sign_out_redirect_uri"
className={styles.textField}
>
<Controller
name="oidcClientMetadata.postLogoutRedirectUris"
control={control}