* 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:
@ -138,6 +138,7 @@ export function EditableCellDoubleTextEditMode({
|
||||
return (
|
||||
<StyledContainer ref={wrapperRef}>
|
||||
<StyledInput
|
||||
autoComplete="off"
|
||||
autoFocus
|
||||
placeholder={firstValuePlaceholder}
|
||||
ref={firstValueInputRef}
|
||||
@ -147,6 +148,7 @@ export function EditableCellDoubleTextEditMode({
|
||||
}}
|
||||
/>
|
||||
<StyledInput
|
||||
autoComplete="off"
|
||||
placeholder={secondValuePlaceholder}
|
||||
ref={secondValueInputRef}
|
||||
value={secondValue}
|
||||
|
||||
@ -14,6 +14,7 @@ export function EditableCellPhone({ value, placeholder, onSubmit }: OwnProps) {
|
||||
<EditableCell
|
||||
editModeContent={
|
||||
<InplaceInputTextEditMode
|
||||
autoComplete="off"
|
||||
autoFocus
|
||||
placeholder={placeholder || ''}
|
||||
value={value}
|
||||
|
||||
@ -32,6 +32,7 @@ export function EditableCellText({
|
||||
autoFocus
|
||||
value={value}
|
||||
onSubmit={(newText) => onSubmit?.(newText)}
|
||||
autoComplete="off"
|
||||
/>
|
||||
}
|
||||
nonEditModeContent={
|
||||
|
||||
@ -27,6 +27,7 @@ export function EditableCellURL({
|
||||
editModeContent={
|
||||
<InplaceInputTextEditMode
|
||||
placeholder={placeholder}
|
||||
autoComplete="off"
|
||||
autoFocus
|
||||
value={url}
|
||||
onSubmit={(newURL) => onSubmit?.(newURL)}
|
||||
|
||||
@ -56,6 +56,7 @@ export function EditableCellChip({
|
||||
placeholder={placeholder || ''}
|
||||
autoFocus
|
||||
value={inputValue}
|
||||
autoComplete="off"
|
||||
onSubmit={(newValue) => onSubmit?.(newValue)}
|
||||
/>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user