Fix missing form-control-label part on texarea (#1533)

This commit is contained in:
LX
2025-10-13 16:45:39 +02:00
committed by GitHub
parent ed17964f10
commit 8fc0ee89ff

View File

@@ -338,7 +338,7 @@ export default class WaTextarea extends WebAwesomeFormAssociatedElement {
const hasHint = this.hint ? true : !!hasHintSlot;
return html`
<label part="label" class="label" for="input" aria-hidden=${hasLabel ? 'false' : 'true'}>
<label part="form-control-label label" class="label" for="input" aria-hidden=${hasLabel ? 'false' : 'true'}>
<slot name="label">${this.label}</slot>
</label>