Update update-email.ftl page

This commit is contained in:
Joseph Garrone
2024-05-08 19:24:18 +02:00
parent 9adfa2200a
commit 0cfa8de0ad
4 changed files with 98 additions and 87 deletions

View File

@ -338,7 +338,6 @@ function InputTag(props: InputFiledByTypeProps & { fieldIndex: number | undefine
max={attribute.annotations.inputTypeMax}
min={attribute.annotations.inputTypeMin}
step={attribute.annotations.inputTypeStep}
// NOTE: The `?? {}` is for backward compatibility with Keycloak prior to 24
{...Object.fromEntries(Object.entries(attribute.html5DataAnnotations ?? {}).map(([key, value]) => [`data-${key}`, value]))}
onChange={event =>
formValidationDispatch({