How to disable Chrome autocomplete feature?

后端 未结 6 1335
花落未央
花落未央 2021-02-19 07:09

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 wor

6条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-19 07:42

    When using jsx - you have to camel case attributes; so autoComplete="new-password" instead of autocomplete.

提交回复
热议问题