Commit 21f5dd9f authored by Matija Obreza's avatar Matija Obreza
Browse files

Fix: Material auto-completer input field requires `autocomplete: off`

parent 92a743ac
......@@ -95,7 +95,7 @@ class MaterialAutosuggest extends React.Component<IMaterialAutosuggestProps, any
}
protected renderInput = (inputProps) => {
const {classes, ref, value, label, autoComplete, ...other} = inputProps;
const {classes, ref, value, label, ...other} = inputProps;
return (
<TextField
......@@ -187,7 +187,7 @@ class MaterialAutosuggest extends React.Component<IMaterialAutosuggestProps, any
classes,
...input,
...other,
autoComplete: 'off',
autocomplete: 'off',
onBlur: checkIfMatch,
} }
/>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment