mirror of
https://github.com/radzenhq/radzen-blazor.git
synced 2026-02-04 05:35:44 +00:00
Label tests fixed
This commit is contained in:
@@ -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>
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user