diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-02-10 11:04:37 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-02-10 11:04:37 +0100 |
commit | da8d6e89ba9e70f166939f9294c4c52fd33003a1 (patch) | |
tree | 3ab911eb192941143f1b98196493d60381e9019c /components/ui.tsx | |
parent | fa7abcaacb80eac384e771d3c0aa19185a214e8a (diff) |
added autocomplete to login/register pages
Diffstat (limited to 'components/ui.tsx')
-rw-r--r-- | components/ui.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/ui.tsx b/components/ui.tsx index 3fb3c86..8f16340 100644 --- a/components/ui.tsx +++ b/components/ui.tsx @@ -95,6 +95,7 @@ export function Input(props: { max?: number; value?: string|number; dark?: boolean; + autocomplete?: string; }) { return <input id={props.id} @@ -104,6 +105,7 @@ export function Input(props: { spellCheck={false} defaultValue={props.value ? String(props.value) : ""} className={props.dark ? "dark" : "light"} + autoComplete={props.autocomplete} style={{ padding: 12, border: 0, |