The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix(#753): add autoComplete attribute for remove suggestion of passwo… (#913)
Gustavo Félix59eb10ccc474
diff --git a/front/src/modules/activities/right-drawer/components/CommentThread.tsx b/front/src/modules/activities/right-drawer/components/CommentThread.tsxindex 97da2120061..e37706dbaee 100644--- a/front/src/modules/activities/right-drawer/components/CommentThread.tsx+++ b/front/src/modules/activities/right-drawer/components/CommentThread.tsx@@ -159,6 +159,7 @@ export function CommentThread({<CommentThreadActionBar commentThreadId={commentThread?.id ?? ''} /></StyledTopActionsContainer><StyledEditableTitleInput+ autoComplete="off"autoFocusplaceholder={`${commentThread.type} title (optional)`}onChange={(event) => {diff --git a/front/src/modules/ui/board/card-field/components/BoardCardEditableFieldText.tsx b/front/src/modules/ui/board/card-field/components/BoardCardEditableFieldText.tsxindex 11e37b1e91a..8e612c2c679 100644--- a/front/src/modules/ui/board/card-field/components/BoardCardEditableFieldText.tsx+++ b/front/src/modules/ui/board/card-field/components/BoardCardEditableFieldText.tsx@@ -33,6 +33,7 @@ export function BoardCardEditableFieldText({placeholder={placeholder || ''}autoFocusvalue={internalValue}+ autoComplete="off"onChange={(event: ChangeEvent<HTMLInputElement>) => {setInternalValue(event.target.value);debouncedOnChange(event.target.value);diff --git a/front/src/modules/ui/board/components/BoardColumnEditTitleMenu.tsx b/front/src/modules/ui/board/components/BoardColumnEditTitleMenu.tsxindex e23e9a39e62..fb19966b878 100644--- a/front/src/modules/ui/board/components/BoardColumnEditTitleMenu.tsx+++ b/front/src/modules/ui/board/components/BoardColumnEditTitleMenu.tsx@@ -77,6 +77,7 @@ export function BoardColumnEditTitleMenu({<StyledEditModeInputvalue={internalValue}onChange={handleChange}+ autoComplete="off"autoFocus/></StyledEditTitleContainer>diff --git a/front/src/modules/ui/dropdown/components/DropdownMenuSearch.tsx b/front/src/modules/ui/dropdown/components/DropdownMenuSearch.tsxindex 3f5f5be5234..19839be62d4 100644--- a/front/src/modules/ui/dropdown/components/DropdownMenuSearch.tsx+++ b/front/src/modules/ui/dropdown/components/DropdownMenuSearch.tsx@@ -30,6 +30,7 @@ export function DropdownMenuSearch(return (<DropdownMenuSearchContainer><StyledEditModeSearchInput+ autoComplete="off"{...props}placeholder={props.placeholder ?? 'Search'}/>diff --git a/front/src/modules/ui/inplace-input/components/InplaceInputDoubleText.tsx b/front/src/modules/ui/inplace-input/components/InplaceInputDoubleText.tsxindex aabdbf770b0..fb042284afc 100644--- a/front/src/modules/ui/inplace-input/components/InplaceInputDoubleText.tsx+++ b/front/src/modules/ui/inplace-input/components/InplaceInputDoubleText.tsx@@ -40,6 +40,7 @@ export function InplaceInputDoubleText({}}/><StyledInput+ autoComplete="off"placeholder={secondValuePlaceholder}value={secondValue}onChange={(event: ChangeEvent<HTMLInputElement>) => {diff --git a/front/src/modules/ui/inplace-input/components/InplaceInputText.tsx b/front/src/modules/ui/inplace-input/components/InplaceInputText.tsxindex 5c84c64a4be..ac086b4ece8 100644--- a/front/src/modules/ui/inplace-input/components/InplaceInputText.tsx+++ b/front/src/modules/ui/inplace-input/components/InplaceInputText.tsx@@ -26,6 +26,7 @@ export function InplaceInputText({return (<InplaceInputContainer><InplaceInputTextInput+ autoComplete="off"autoFocus={autoFocus}placeholder={placeholder}value={value}diff --git a/front/src/modules/ui/input/components/Checkbox.tsx b/front/src/modules/ui/input/components/Checkbox.tsxindex a79cf9e4c86..b07bfc44478 100644--- a/front/src/modules/ui/input/components/Checkbox.tsx+++ b/front/src/modules/ui/input/components/Checkbox.tsx@@ -94,6 +94,7 @@ export function Checkbox({return (<StyledInputContainer><StyledInput+ autoComplete="off"type="checkbox"name="styled-checkbox"data-testid="input-checkbox"diff --git a/front/src/modules/ui/input/components/TextInput.tsx b/front/src/modules/ui/input/components/TextInput.tsxindex c50a7d1dd58..b4ff6bffa09 100644--- a/front/src/modules/ui/input/components/TextInput.tsx+++ b/front/src/modules/ui/input/components/TextInput.tsx@@ -150,6 +150,7 @@ export function TextInput({{label && <StyledLabel>{label + (required ? '*' : '')}</StyledLabel>}<StyledInputContainer><StyledInput+ autoComplete="off"ref={inputRef}tabIndex={props.tabIndex ?? 0}onFocus={handleFocus}diff --git a/front/src/modules/ui/table/editable-cell/types/EditableCellDoubleTextEditMode.tsx b/front/src/modules/ui/table/editable-cell/types/EditableCellDoubleTextEditMode.tsxindex a5f969b44c6..f2b24af1fba 100644--- a/front/src/modules/ui/table/editable-cell/types/EditableCellDoubleTextEditMode.tsx+++ b/front/src/modules/ui/table/editable-cell/types/EditableCellDoubleTextEditMode.tsx@@ -138,6 +138,7 @@ export function EditableCellDoubleTextEditMode({return (<StyledContainer ref={wrapperRef}><StyledInput+ autoComplete="off"autoFocusplaceholder={firstValuePlaceholder}ref={firstValueInputRef}@@ -147,6 +148,7 @@ export function EditableCellDoubleTextEditMode({}}/><StyledInput+ autoComplete="off"placeholder={secondValuePlaceholder}ref={secondValueInputRef}value={secondValue}diff --git a/front/src/modules/ui/table/editable-cell/types/EditableCellPhone.tsx b/front/src/modules/ui/table/editable-cell/types/EditableCellPhone.tsxindex 2f97b8962d6..e777145a11d 100644--- a/front/src/modules/ui/table/editable-cell/types/EditableCellPhone.tsx+++ b/front/src/modules/ui/table/editable-cell/types/EditableCellPhone.tsx@@ -14,6 +14,7 @@ export function EditableCellPhone({ value, placeholder, onSubmit }: OwnProps) {<EditableCelleditModeContent={<InplaceInputTextEditMode+ autoComplete="off"autoFocusplaceholder={placeholder || ''}value={value}diff --git a/front/src/modules/ui/table/editable-cell/types/EditableCellText.tsx b/front/src/modules/ui/table/editable-cell/types/EditableCellText.tsxindex d20f20137df..798e67fea31 100644--- a/front/src/modules/ui/table/editable-cell/types/EditableCellText.tsx+++ b/front/src/modules/ui/table/editable-cell/types/EditableCellText.tsx@@ -32,6 +32,7 @@ export function EditableCellText({autoFocusvalue={value}onSubmit={(newText) => onSubmit?.(newText)}+ autoComplete="off"/>}nonEditModeContent={diff --git a/front/src/modules/ui/table/editable-cell/types/EditableCellURL.tsx b/front/src/modules/ui/table/editable-cell/types/EditableCellURL.tsxindex 56babdc2042..d5b3b6ac3db 100644--- a/front/src/modules/ui/table/editable-cell/types/EditableCellURL.tsx+++ b/front/src/modules/ui/table/editable-cell/types/EditableCellURL.tsx@@ -27,6 +27,7 @@ export function EditableCellURL({editModeContent={<InplaceInputTextEditModeplaceholder={placeholder}+ autoComplete="off"autoFocusvalue={url}onSubmit={(newURL) => onSubmit?.(newURL)}diff --git a/front/src/modules/ui/table/editable-cell/types/EditableChip.tsx b/front/src/modules/ui/table/editable-cell/types/EditableChip.tsxindex 62e4816c806..8a66ea003c1 100644--- a/front/src/modules/ui/table/editable-cell/types/EditableChip.tsx+++ b/front/src/modules/ui/table/editable-cell/types/EditableChip.tsx@@ -56,6 +56,7 @@ export function EditableCellChip({placeholder={placeholder || ''}autoFocusvalue={inputValue}+ autoComplete="off"onSubmit={(newValue) => onSubmit?.(newValue)}/>}