From 27787c8f3711438ca8747c856c1845f64da04c78 Mon Sep 17 00:00:00 2001 From: azivner Date: Tue, 27 Nov 2018 19:40:19 +0100 Subject: [PATCH] attribute name and value autocompletes should not have autoselect since it's OK to enter value not in the autocomplete --- src/public/javascripts/services/attribute_autocomplete.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/public/javascripts/services/attribute_autocomplete.js b/src/public/javascripts/services/attribute_autocomplete.js index 73d3d21df..9b445a118 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