From c05d43fa8e2f124e49c22111a08c79ce4cd215c8 Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Tue, 9 Jul 2024 10:32:04 -0400 Subject: [PATCH] Item box: Enable autocomplete on long fields --- chrome/content/zotero/elements/itemBox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/elements/itemBox.js b/chrome/content/zotero/elements/itemBox.js index dda17b357f..f5d5278ccc 100644 --- a/chrome/content/zotero/elements/itemBox.js +++ b/chrome/content/zotero/elements/itemBox.js @@ -1506,7 +1506,7 @@ else { valueElement.style.textAlign = 'left'; } - if (!isLong && !fieldName.includes("creator")) { + if (!fieldName.startsWith('creator-')) { // autocomplete for creator names is added in addCreatorRow this.addAutocompleteToElement(valueElement); }