如何避免或禁用 Redux 表单文本输入中的自动完成功能?
how to avoid or disable autoComplete in text input for Redux form?
我正在使用 ReactJS 和 ReduxJS 构建我的应用程序。
我使用 Redux-Form 创建了我的表单,并且有很多文本输入,对于其中之一,我正在使用 onkeyDown 事件来增加和减少我的文本中的数字
so when i click up arrow or enter first digit the text is auto
completed with previous date entered(history) that disturb when i
click another up arrow
[提示] 我尝试了 AutoComplete=off
但没有成功
您的属性大小写不正确。您可以在输入中使用以下 3 个属性:
autoComplete="off"
autoCorrect="off"
spellCheck="off"
注意每个都是驼峰式的。
似乎 autoComplete="off"
在 Chrome 中不再有效。解决方法是设置 autoComplete="new-password"
或不支持的值:autoComplete="something-unsupported"
.
我已经尝试了上面的所有示例,但是这个对我有用 autoComplete="off"
我正在使用 ReactJS 和 ReduxJS 构建我的应用程序。
我使用 Redux-Form 创建了我的表单,并且有很多文本输入,对于其中之一,我正在使用 onkeyDown 事件来增加和减少我的文本中的数字
so when i click up arrow or enter first digit the text is auto completed with previous date entered(history) that disturb when i click another up arrow
[提示] 我尝试了 AutoComplete=off
但没有成功
您的属性大小写不正确。您可以在输入中使用以下 3 个属性:
autoComplete="off"
autoCorrect="off"
spellCheck="off"
注意每个都是驼峰式的。
似乎 autoComplete="off"
在 Chrome 中不再有效。解决方法是设置 autoComplete="new-password"
或不支持的值:autoComplete="something-unsupported"
.
我已经尝试了上面的所有示例,但是这个对我有用 autoComplete="off"