mirror of
https://github.com/radzenhq/radzen-blazor.git
synced 2026-07-08 18:16:08 +00:00
21 lines
606 B
Plaintext
21 lines
606 B
Plaintext
<RadzenStack Orientation="Orientation.Horizontal" AlignItems="AlignItems.Center" JustifyContent="JustifyContent.Center" Gap="0.5rem" class="rz-p-sm-12">
|
|
<RadzenLabel Text="Default TextBox" Component="TextBoxBindValue" />
|
|
<RadzenTextBox @bind-Value=@value Style="width: 100%; max-width: 400px;" Name="TextBoxBindValue" />
|
|
</RadzenStack>
|
|
|
|
<EventConsole @ref=@console />
|
|
|
|
@code {
|
|
string value;
|
|
|
|
EventConsole console;
|
|
|
|
protected override void OnAfterRender(bool firstRender)
|
|
{
|
|
if (value != null)
|
|
{
|
|
console.Log($"Value changed to {value}");
|
|
}
|
|
}
|
|
}
|