Files
radzen-blazor/Radzen.Blazor/RadzenTextArea.razor
Atanas Korchev d109c2e295 Remove NET7 preprocessor guards from Blazor components.
Assume .NET 7+ paths by default and delete legacy fallback-only event handler declarations.
2026-02-12 11:22:24 +02:00

14 lines
839 B
Plaintext

@inherits FormComponent<string>
@if (Visible)
{
if (Immediate)
{
<textarea @ref="@Element" id="@GetId()" disabled="@Disabled" readonly="@ReadOnly" name="@Name" rows="@Rows" cols="@Cols" style="@Style" @attributes="Attributes" class="@GetCssClass()"
placeholder="@CurrentPlaceholder" maxlength="@MaxLength" @bind:get="@Value" @bind:set="@SetValue" @bind:event="oninput" tabindex="@(Disabled ? "-1" : $"{TabIndex}")"></textarea>
}
else
{
<textarea @ref="@Element" id="@GetId()" disabled="@Disabled" readonly="@ReadOnly" name="@Name" rows="@Rows" cols="@Cols" style="@Style" @attributes="Attributes" class="@GetCssClass()"
placeholder="@CurrentPlaceholder" maxlength="@MaxLength" value="@Value" @onchange="@OnChange" tabindex="@(Disabled ? "-1" : $"{TabIndex}")"></textarea>
}
}