fix(#753): add autoComplete attribute for remove suggestion of passwo… (#913)

* fix(#753): add autoComplete attribute for remove suggestion of password managers

* fix(#753): add autoComplete attribute for remove suggestion of password managers

* Update front/src/modules/ui/inplace-input/components/InplaceInputDoubleText.tsx

* Update front/src/modules/ui/inplace-input/components/InplaceInputDoubleText.tsx

* Update front/src/modules/ui/inplace-input/components/InplaceInputDoubleText.tsx

* Update front/src/modules/ui/inplace-input/components/InplaceInputDoubleText.tsx

---------

Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com>
This commit is contained in:
Gustavo Félix
2023-07-25 15:21:45 -03:00
committed by GitHub
parent a5ca913158
commit 59eb10ccc4
13 changed files with 14 additions and 0 deletions

View File

@ -94,6 +94,7 @@ export function Checkbox({
return (
<StyledInputContainer>
<StyledInput
autoComplete="off"
type="checkbox"
name="styled-checkbox"
data-testid="input-checkbox"

View File

@ -150,6 +150,7 @@ export function TextInput({
{label && <StyledLabel>{label + (required ? '*' : '')}</StyledLabel>}
<StyledInputContainer>
<StyledInput
autoComplete="off"
ref={inputRef}
tabIndex={props.tabIndex ?? 0}
onFocus={handleFocus}