theme-ui
theme-ui copied to clipboard
Support disabling of HTML autocomplete on Input component
It'd be great if we could specify autocomplete="off" to disable HTML autocomplete on the Input component. Nothing happens when I currently try to add that, but please correct me if this already exists and I'm just doing something wrong.
Hey! The Input component forwards all props you pass it—nothing special happens to autocomplete. It’s more likely you need to replace it with autoComplete, which React/JSX uses instead of the lowercase variant in HTML: https://reactjs.org/docs/dom-elements.html
@hasparus Can you close this?