mirror of
https://github.com/radzenhq/radzen-blazor.git
synced 2026-07-08 18:16:08 +00:00
33 lines
815 B
Plaintext
33 lines
815 B
Plaintext
@using Radzen.Blazor
|
|
@inherits RadzenComponent
|
|
|
|
@if (Visible)
|
|
{
|
|
<div @ref="@Element" for="@Component" style="@Style" @attributes="Attributes" class="@GetCssClass()" id="@GetId()">
|
|
<div class="rz-form-field-content">
|
|
<CascadingValue Value=@context>
|
|
@if (Start != null)
|
|
{
|
|
<div class="rz-form-field-start">
|
|
@Start
|
|
</div>
|
|
}
|
|
@ChildContent
|
|
<label class="rz-form-field-label rz-text-truncate" for=@Component> @if (TextTemplate is null) {@Text} else {@TextTemplate} </label>
|
|
@if (End != null)
|
|
{
|
|
<div class="rz-form-field-end">
|
|
@End
|
|
</div>
|
|
}
|
|
</CascadingValue>
|
|
</div>
|
|
@if (Helper != null)
|
|
{
|
|
<div class="rz-form-field-helper">
|
|
@Helper
|
|
</div>
|
|
}
|
|
</div>
|
|
}
|