Form Validator does not work with RadzenColumn/RadzenRow #735

Open
opened 2026-01-29 17:42:30 +00:00 by claunia · 0 comments
Owner

Originally created by @prrandrade on GitHub (Feb 15, 2023).

Hello everyone!

I'm reporting a strange bug about form validations. Let me give a simple example:

<RadzenRow>
    <RadzenColumn>
        <RadzenText TextStyle="TextStyle.Subtitle2" style="margin-top: 10px;">Dê um nome ao filtro</RadzenText>
        <RadzenTextBox Name="FilterName" Class="w-100" @bind-value="_data.Name" />
        <RadzenRequiredValidator Component="FilterName" Text="Filtro precisa ter um nome" Popup="@false" Style="position: absolute" />
    </RadzenColumn>
</RadzenRow>

As you can see, the form elements are inside a Row/Column. The validation is NOT triggered and the Submit method (not shown here) is triggered, with when the TextBox is NOT filled.

Originally created by @prrandrade on GitHub (Feb 15, 2023). Hello everyone! I'm reporting a strange bug about form validations. Let me give a simple example: ``` <RadzenRow> <RadzenColumn> <RadzenText TextStyle="TextStyle.Subtitle2" style="margin-top: 10px;">Dê um nome ao filtro</RadzenText> <RadzenTextBox Name="FilterName" Class="w-100" @bind-value="_data.Name" /> <RadzenRequiredValidator Component="FilterName" Text="Filtro precisa ter um nome" Popup="@false" Style="position: absolute" /> </RadzenColumn> </RadzenRow> ``` As you can see, the form elements are inside a Row/Column. The validation is NOT triggered and the Submit method (not shown here) is triggered, with when the TextBox is NOT filled.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#735