Red border lines do not include icons

<RadzenFormField Text="@L["New Password"]" Variant="Variant.Outlined" Style="width: 100%;">




<RadzenTextBox @bind-Value="@Input.Password" Visible="@(!_showPassword)"/>
<RadzenPassword @bind-Value="@Input.Password" Visible="@_showPassword"/>


<RadzenButton Icon="@(_showPassword ? "visibility" : "visibility_off")" Click="TogglePasswordVisibility" Variant="Variant.Text" Size="ButtonSize.Small"/>

When I use icons at the beginning and end of RadzenTextBox, the red border doesn't cover them. It looks weird. Is there a solution for this?

Hi @Yursat,

This behavior cannot be reproduced in the online FormField validation demos.

Perhaps some third party CSS is interfering with the input styles inside a FormField. Try removing the border with these styles:

<style>
    .rz-form-field-content .invalid {
       border: none;
    }
</style>