Skip to content

Commit

Permalink
disable autocomplete for recipient fields #6904
Browse files Browse the repository at this point in the history
  • Loading branch information
mpfau authored and wrdhub committed Dec 11, 2024
1 parent 5ca6993 commit c398ef1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/common/gui/base/BubbleTextField.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import m, { Children, ClassComponent, Vnode } from "mithril"
import { TextField, TextFieldType } from "./TextField.js"
import { Autocomplete, TextField, TextFieldType } from "./TextField.js"
import { TranslationText } from "../../misc/LanguageViewModel"
import { Keys } from "../../api/common/TutanotaConstants"
import { createAsyncDropdown, DropdownChildAttrs } from "./Dropdown.js"
Expand Down Expand Up @@ -37,6 +37,7 @@ export class BubbleTextField implements ClassComponent<BubbleTextFieldAttrs> {
oninput: attrs.onInput,
helpLabel: attrs.helpLabel,
type: TextFieldType.Email,
autocompleteAs: Autocomplete.off,
injectionsLeft: () => {
return attrs.items.map((item, idx, items) => {
// We need overflow: hidden on both so that ellipsis on button works.
Expand Down

0 comments on commit c398ef1

Please sign in to comment.