change readonly to disabled so that it differs from a normal field (#39016)

fixes: #38934

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
Erik Jan de Wit
2025-04-16 18:15:35 +02:00
committed by GitHub
parent 9976f9380c
commit 4dfb465c27
@@ -29,7 +29,7 @@ export const TextComponent = (props: UserProfileFieldProps) => {
] as string,
)
}
readOnly={attribute.readOnly}
isDisabled={attribute.readOnly}
isRequired={isRequired}
{...form.register(fieldName(attribute.name))}
/>