Disable browser autocomplete for Input fields
See original GitHub issue- I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
I have custom autocompletion feature within my web application that works when I type in <Input.Search />
component.
However Safari and other browser tries to do additional autocomplete when I type in React And Design <Input />
field.
I would like to be able to disable browser autocomplete by setting autocomplete=“off” (see https://stackoverflow.com/questions/2530/how-do-you-disable-browser-autocomplete-on-web-form-field-input-tag ).
This issue is quite similar to https://github.com/ant-design/ant-design/issues/7659
What does the proposed API look like?
<Input autocomplete={false} />
where the autocompleted property will be true by default
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How to turn off form autocompletion - Web security | MDN
Setting autocomplete="off" on fields has two effects: ... If a browser keeps on making suggestions even after setting autocomplete to off, then ...
Read more >How to Disable the Browser Autocomplete and Autofill on ...
To disable the autocomplete of text in forms, use the autocomplete attribute of <input> and <form> elements. You'll need the "off" value of...
Read more >How do you disable browser autocomplete on web form field ...
Just set autocomplete="off" . There is a very good reason for doing this: You want ...
Read more >How To Turn Off Autocomplete for Input - W3Schools
Learn how to disable autocomplete of an input field. Turn Off Autocomplete. Use the autocomplete attribute to turn off autocomplete for input fields: ......
Read more >Disable HTML form input autocomplete and autofill · GitHub
Disable HTML Form Input Autocomplete and Autofill · Add autocomplete="off" onto <form> element; · Add hidden <input> with autocomplete="false" as a first children ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Any plans to have autocomplete on
<Select />
components? When you setshowSearch={true}
browsers will try to autocomplete/suggest/fill the search inputIt’s already support, try
<Input autoComplete="off" />