<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}");
        }
    }
}
