React version: 16.12.0
onChange handler)cheese into the inputccheese is not suggestedhttps://codesandbox.io/s/ancient-currying-oqgt6
It works when a uncontrolled input is used (i.e. value is not set by react onChange handler)
cheese into the inputccheese is being suggestedhttps://codesandbox.io/s/naughty-dijkstra-p3n42
It's not about autofilling address data or passwords, but data previously filled in by the user.
We noticed this issue in Chrome, Firefox and Safari. Even though we could not get any autocompletion to work in Safari, even without React. (We could in Chrome and Firefox)
Thanks!
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
I seem to be running into the same issue.
The only additional observation that I have is that it seems to show existing autocomplete entries but no new ones are added.
This is somewhat speculation, but what seems to happen in the DOM is that the value attribute of the input gets set with every key stroke. So when the form is submitted the "system supplied" value and the user input are the same and the browser does not store it for further autocompletion.
Thank you for reporting this. This is unfortunately a known problem that is being tracked in https://github.com/facebook/react/issues/15739. I will close this as a duplicate but feel free to subscribe to that issue.
Most helpful comment
I seem to be running into the same issue.
The only additional observation that I have is that it seems to show existing autocomplete entries but no new ones are added.