我正在使用 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"
请注意,每个都是驼峰式大小写。
关于javascript - 如何避免或禁用 Redux 表单文本输入中的自动完成功能?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41056858/