Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
attribute name and value autocompletes should not have autoselect since it's OK to enter value not in the autocomplete
azivner27787c8f3711
diff --git a/src/public/javascripts/services/attribute_autocomplete.js b/src/public/javascripts/services/attribute_autocomplete.jsindex 73d3d21df6..9b445a118c 100644--- a/src/public/javascripts/services/attribute_autocomplete.js+++ b/src/public/javascripts/services/attribute_autocomplete.js@@ -10,7 +10,6 @@ function initAttributeNameAutocomplete({ $el, attributeType, open }) {$el.autocomplete({appendTo: document.querySelector('body'),hint: false,- autoselect: true,openOnFocus: true,minLength: 0,tabAutocomplete: false@@ -58,7 +57,6 @@ async function initLabelValueAutocomplete({ $el, open }) {$el.autocomplete({appendTo: document.querySelector('body'),hint: false,- autoselect: true,openOnFocus: true,minLength: 0,tabAutocomplete: false