We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ba0485 commit baa12c2Copy full SHA for baa12c2
packages/console/src/pages/SignInExperience/PageContent/components/ProfileFieldPartSubForm/index.tsx
@@ -121,12 +121,13 @@ function ProfileFieldPartSubForm({ index }: Props) {
121
}),
122
}}
123
render={({ field: { value, onChange } }) => {
124
+ const fallbackValue = isBuiltInFieldName ? getI18nLabel(name) : '';
125
return (
126
<TextInput
127
disabled={isBuiltInFieldName}
128
error={formErrors?.label?.message}
129
placeholder={t('sign_in_exp.custom_profile_fields.details.label_placeholder')}
- value={value || getI18nLabel(name)}
130
+ value={value || fallbackValue}
131
onChange={onChange}
132
/>
133
);
0 commit comments