mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +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:
parent
e910595545
commit
27787c8f37
@ -10,7 +10,6 @@ function initAttributeNameAutocomplete({ $el, attributeType, open }) {
|
|||||||
$el.autocomplete({
|
$el.autocomplete({
|
||||||
appendTo: document.querySelector('body'),
|
appendTo: document.querySelector('body'),
|
||||||
hint: false,
|
hint: false,
|
||||||
autoselect: true,
|
|
||||||
openOnFocus: true,
|
openOnFocus: true,
|
||||||
minLength: 0,
|
minLength: 0,
|
||||||
tabAutocomplete: false
|
tabAutocomplete: false
|
||||||
@ -58,7 +57,6 @@ async function initLabelValueAutocomplete({ $el, open }) {
|
|||||||
$el.autocomplete({
|
$el.autocomplete({
|
||||||
appendTo: document.querySelector('body'),
|
appendTo: document.querySelector('body'),
|
||||||
hint: false,
|
hint: false,
|
||||||
autoselect: true,
|
|
||||||
openOnFocus: true,
|
openOnFocus: true,
|
||||||
minLength: 0,
|
minLength: 0,
|
||||||
tabAutocomplete: false
|
tabAutocomplete: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user