mirror of
https://github.com/logto-io/logto.git
synced 2025-01-20 21:32:31 -05:00
fix(console): add displayName input placeholder (#5282)
add displayName input placeholder
This commit is contained in:
parent
e86aab2a5e
commit
0986876076
1 changed files with 3 additions and 1 deletions
|
@ -106,7 +106,7 @@ function Branding({ application }: Props) {
|
|||
description="application_details.branding.description"
|
||||
>
|
||||
<FormField title="application_details.branding.display_name">
|
||||
<TextInput {...register('displayName')} />
|
||||
<TextInput {...register('displayName')} placeholder={application.name} />
|
||||
</FormField>
|
||||
{isUserAssetsServiceReady && (
|
||||
<FormField title="application_details.branding.display_logo">
|
||||
|
@ -121,6 +121,7 @@ function Branding({ application }: Props) {
|
|||
validate: (value) =>
|
||||
!value || uriValidator(value) || t('errors.invalid_uri_format'),
|
||||
})}
|
||||
placeholder={t('sign_in_exp.branding.logo_image_url_placeholder')}
|
||||
error={errors.branding?.logoUrl?.message}
|
||||
/>
|
||||
</FormField>
|
||||
|
@ -133,6 +134,7 @@ function Branding({ application }: Props) {
|
|||
validate: (value) =>
|
||||
!value || uriValidator(value) || t('errors.invalid_uri_format'),
|
||||
})}
|
||||
placeholder={t('sign_in_exp.branding.dark_logo_image_url_placeholder')}
|
||||
error={errors.branding?.darkLogoUrl?.message}
|
||||
/>
|
||||
</FormField>
|
||||
|
|
Loading…
Add table
Reference in a new issue