Login page auto complete off

Hi below is my code and I have tried everything but the textbox always have prefilled email saved in the Edge browser . Is there any way to make it empty ?

<RadzenTextBox AutoCompleteType="AutoCompleteType.Off" aria-autocomplete="none" autocomplete="off" @bind-Value="@Input.Email" Style="width: 100%;" />

In my opinion prefill is something different not related to input auto complete:

Hi @enchev

Please see below:

autocomplete is what we need to turn off or set to new-password for preventing browser to enter saved email/password.

However, it's not working in RadzenTextbox since there isn't any property for setting autocomplete or I am not able to make it work. Please help

@korchev would you be able to please share some information ? Thank you

Just set the autocomplete attribute to whatever value you want:

<RadzenTextBox autocomplete="custom" />

or use the AutoCompleteType enum:

<RadzenTextBox AutoCompleteType="AutoCompleteType.NewPassword" />
1 Like

Thanks @korchev I used below code and it fixed the issue with prefill/autofill

<RadzenTextBox AutoCompleteType="AutoCompleteType.NewPassword" />
  1. How can I also prevent the below saved info to appear ? It is purely because one computer may be used for accessing application by different users and saved information will breach their logon information. Can we prevent this from radzen or is it browser setting ?

  2. Also, can we prevent password storing in browser from with in blazor radzen ? Like without toggling browser settings ?

image

  1. Also, prevent suggested password.

image

I don't have an answer for that - try searching online. A generic solution that works for <input> will work for RadzenTextBox and RadzenPassword.