removed fallback to attribute name on placeholder (#38005) (#38034)

fixes: #37911

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
(cherry picked from commit 0f48315279ff7c7577b8eefe1b0c0ba7b8b0fd20)
This commit is contained in:
Erik Jan de Wit 2025-03-13 14:45:31 +01:00 committed by GitHub
parent bdc7a64976
commit afe614726b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@ export const TextComponent = (props: UserProfileFieldProps) => {
: label(
props.t,
attribute.annotations?.["inputTypePlaceholder"] as string,
attribute.name,
"",
attribute.annotations?.[
"inputOptionLabelsI18nPrefix"
] as string,