Hello,
I want to stop auto filled password text field in webix form which is filled through browser’s saved data.
Hello,
I want to stop auto filled password text field in webix form which is filled through browser’s saved data.
Hello,
It’s possible to provide attribute via the related attributes
property of a text control, which allows settings any HTML attribute to an input:
view:"text", { attributes:{ autocomplete:"off" }}
If you want to disable autocompleting for all the element in a form at once, you can use the form’s **elementsConfig
**setting:
view:"form", elementsConfig:{
attributes:{autocomplete:"off"}
}
Please, check the related snippet: https://webix.com/snippet/d5d9ccf1
Also, as another way you can add autocomplete: "new-password"
https://snippet.webix.com/7fmg75dt
Its not working if user’s browser has enabled autofill option.
Please check this snippet -
https://snippet.webix.com/uch215hl
Here, username and password will filled automatically by browser’s saved username and password.
The above solution must work correctly in Chrome/Safari. And there is an open issue for Firefox support
The solution provided by @Nastja allows to define any attribute for the HTML input, so if you have any other solution which works with raw HTML you can use it with Webix control as well.
This has no effect in my case
Hi @bikerboy can you please provide a snippet ? thank you