Label tests fixed

This commit is contained in:
Vladimir Enchev
2023-01-10 10:54:09 +02:00
parent a0f7e924e5
commit d46a7a50b5

View File

@@ -2,14 +2,5 @@
@if (Visible) @if (Visible)
{ {
<label @ref="@Element" for="@Component" style="@Style" @attributes="Attributes" class="@GetCssClass()" id="@GetId()"> <label @ref="@Element" for="@Component" style="@Style" @attributes="Attributes" class="@GetCssClass()" id="@GetId()">@if(ChildContent != null){@ChildContent}else{@Text}</label>
@if (ChildContent != null)
{
@ChildContent
}
else
{
@Text
}
</label>
} }