Removed hard-coded LTR dir attribute in inputs in configure OTP template

This should be done in the html opening tag only (see issue #33642)

Closes #32844

Signed-off-by: Jon Haynes <senyahnoj@gmail.com>
This commit is contained in:
Jon Haynes 2024-10-07 17:17:11 +01:00 committed by Alexander Schwartz
parent f208ae4ffb
commit df30358839

View file

@ -62,7 +62,6 @@
<div class="${properties.kcInputClass!} <#if messagesPerField.existsError('totp')>pf-m-error</#if>"> <div class="${properties.kcInputClass!} <#if messagesPerField.existsError('totp')>pf-m-error</#if>">
<input type="text" required id="totp" name="totp" autocomplete="off" <input type="text" required id="totp" name="totp" autocomplete="off"
aria-invalid="<#if messagesPerField.existsError('totp')>true</#if>" aria-invalid="<#if messagesPerField.existsError('totp')>true</#if>"
dir="ltr"
/> />
<@field.errorIcon error=kcSanitize(messagesPerField.get('totp'))?no_esc/> <@field.errorIcon error=kcSanitize(messagesPerField.get('totp'))?no_esc/>
@ -85,7 +84,6 @@
<div class="${properties.kcInputClass!}"> <div class="${properties.kcInputClass!}">
<input type="text" id="userLabel" name="userLabel" autocomplete="off" <input type="text" id="userLabel" name="userLabel" autocomplete="off"
aria-invalid="<#if messagesPerField.existsError('userLabel')>true</#if>" aria-invalid="<#if messagesPerField.existsError('userLabel')>true</#if>"
dir="ltr"
/> />
<@field.errorIcon error=kcSanitize(messagesPerField.get('userLabel'))?no_esc/> <@field.errorIcon error=kcSanitize(messagesPerField.get('userLabel'))?no_esc/>