How to disable Chrome autocomplete feature?

后端 未结 6 1336
花落未央
花落未央 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:32

    The only hack that worked for me is to create hidden input and add random number for the original input name:

    
    
    

提交回复
热议问题