theme-ui icon indicating copy to clipboard operation
theme-ui copied to clipboard

Support disabling of HTML autocomplete on Input component

Open suyang581 opened this issue 6 years ago • 2 comments

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.

suyang581 avatar May 13 '20 15:05 suyang581

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

lachlanjc avatar May 14 '20 05:05 lachlanjc

@hasparus Can you close this?

lachlanjc avatar Nov 18 '20 01:11 lachlanjc