删除文本框下拉建议
我有一个文本输入,人们可以在其中输入和发送文本。我不希望文本框有一个下拉框,其中包含基于先前输入的建议。如何删除这个文本框下拉框? (我知道这将是一个简单的 1 行代码,但我找不到它:P)
I have a text input where people type and send text. I don't want the text box to have a drop down box with suggestions based on previous inputs. How do i remove this textbox drop down box? (I know its gonna be a simple 1 line of code but I can't find it :P)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在您的输入标记中尝试此属性:
Try this attribute in your input tag:
这应该可以做到
This should do it
你可以试试这个
you can try this
<input type="text" autocomplete="new-password" />