fixed style of textarea tag (#39242)

fixes: #36622

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
This commit is contained in:
Erik Jan de Wit 2025-05-12 19:27:21 +02:00 committed by GitHub
parent 61fdfc2352
commit 8b860aae80
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -122,13 +122,15 @@
</#macro>
<#macro textareaTag attribute>
<textarea id="${attribute.name}" name="${attribute.name}" class="${properties.kcInputClass!}"
<span class="${properties.kcInputClass!}">
<textarea id="${attribute.name}" name="${attribute.name}"
aria-invalid="<#if messagesPerField.existsError('${attribute.name}')>true</#if>"
<#if attribute.readOnly>disabled</#if>
<#if attribute.annotations.inputTypeCols??>cols="${attribute.annotations.inputTypeCols}"</#if>
<#if attribute.annotations.inputTypeRows??>rows="${attribute.annotations.inputTypeRows}"</#if>
<#if attribute.annotations.inputTypeMaxlength??>maxlength="${attribute.annotations.inputTypeMaxlength}"</#if>
>${(attribute.value!'')}</textarea>
</span>
</#macro>
<#macro selectTag attribute>