Removing autocomplete in inputs
This commit is contained in:
parent
2af0c2d3ef
commit
9c235ea12a
|
@ -35,7 +35,7 @@ class TextField extends React.PureComponent<TextFieldProps> {
|
||||||
const underline = meta.active || (meta.visited && !meta.valid)
|
const underline = meta.active || (meta.visited && !meta.valid)
|
||||||
|
|
||||||
const inputRoot = helperText ? classes.root : undefined
|
const inputRoot = helperText ? classes.root : undefined
|
||||||
const inputProps = { ...restInput, autoComplete: 'false' }
|
const inputProps = { ...restInput, autoComplete: 'off' }
|
||||||
const inputRootProps = { disableUnderline: !underline, className: inputRoot }
|
const inputRootProps = { disableUnderline: !underline, className: inputRoot }
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in New Issue