如何禁用Chrome自动完成功能? [英] How to disable Chrome autocomplete feature?

查看:255
本文介绍了如何禁用Chrome自动完成功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们想在我们的React JavaScript应用程序的Chrome浏览器中禁用自动完成.我们尝试了Internet上可用的一堆解决方案,但没有任何效果. autoComplete=off不可靠,其他方法也不可靠.

We want to disable autocomplete in Chrome browser in our React JavaScript application. We have tried bunch of solution available on the Internet but nothing worked. autoComplete=off is not reliable and so are other ways.

此刻对我们而言确实很重要,所以您能建议我们一种使用React JavaScript在Chrome中禁用自动完成功能的万无一失的方法吗?

This is really important for us at this moment so can you please suggest us a foolproof way to disable autocomplete in Chrome using React JavaScript?

第二,我们为文本框使用一个公共控件/组件,并在各处使用它们

Secondly, we are using a common control/component for our text boxes and using them everywhere

推荐答案

执行autocomplete="new-password"禁用自动完成功能.

Do autocomplete="new-password" to disable autocomplete.

这篇关于如何禁用Chrome自动完成功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆