RadzenFormField not working with RadzenTextBox

Hey, I'm using RadzenFormField with RadzenRequiredValidator, but I'm encountering the issue shown in the picture.

<RadzenColumn>
    <RadzenFormField Text="Code">
        <RadzenTextBox @bind-Value="MyObj.Code" Name="Code" MaxLength="12" class="w-100" />
        <RadzenRequiredValidator Component="Code" Text="@L["ValidatorRequiredField"]" />
        <RadzenLengthValidator Min="12" Max="12" Component="Code" />
    </RadzenFormField>
</RadzenColumn>

image

Hi @hamza_mr,

This screenshot doesn't tell us much. What is the expected behavior? What don't you like in the current behavior? The statement "RadzenFormField not working with RadzenTextBox" is just wrong as we have plenty of demos showing otherwise.

1 Like

Thank you, I fixed the issue.