Theme-ui: Support disabling of HTML autocomplete on Input component

Created on 13 May 2020  路  2Comments  路  Source: system-ui/theme-ui

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.

Most helpful comment

Hey! The Input component forwards all props you pass it鈥攏othing special happens to autocomplete. It鈥檚 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

All 2 comments

Hey! The Input component forwards all props you pass it鈥攏othing special happens to autocomplete. It鈥檚 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?

Was this page helpful?
0 / 5 - 0 ratings