Automatic association to the credentials available in the PC when setting the Password type
Hi
I'm trying to use two TextBox controls to insert username and password into a form (which is not login). If in the second control I use the Syncfusion.Blazor.Inputs.InputType.Password option automatically, the two controls are associated with the list of credentials available on the PC and are even populated with some criteria.
Is it possible to prevent this automatic association by leaving InputType.Password instead of InputType.Text? In the latter case, in fact, the two controls work regularly as expected.
waiting for your kind reply
kind regards
|
@using Syncfusion.Blazor.Inputs
<SfTextBox Autocomplete="AutoComplete.Off"></SfTextBox> |
You can also set the AutoComplete = “off” in a SfTextBox component using the HtmlAttributes property. Refer to the code below,
|
<SfTextBox HtmlAttributes="@htmlAttributes"></SfTextBox>
@code{
public Dictionary<string, object> htmlAttributes { get; set; } = new Dictionary<string, object>() { { "autocomplete", "off" } };
} |
Hi,
I tried your suggestion ( <SfTextBox Autocomplete="AutoComplete.Off"></SfTextBox> ) on both controls but the browser keeps showing username and password available on the pc. I am using version 19.2.0.51. Could it be due to this?
Thank you
Greetings
- 3 Replies
- 2 Participants
-
SA Salvatore
- Aug 23, 2021 04:06 PM UTC
- Aug 25, 2021 02:34 PM UTC