mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 04:16:17 +01:00 
			
		
		
		
	attribute name and value autocompletes should not have autoselect since it's OK to enter value not in the autocomplete
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user