mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 09:58:32 +02:00
make openOnFocus=false explicit
This commit is contained in:
parent
ab0f0c5ced
commit
27b55eb3ee
@ -140,6 +140,9 @@ function initNoteAutocomplete($el, options) {
|
|||||||
appendTo: document.querySelector('body'),
|
appendTo: document.querySelector('body'),
|
||||||
hint: false,
|
hint: false,
|
||||||
autoselect: true,
|
autoselect: true,
|
||||||
|
// openOnFocus has to be false, otherwise re-focus (after return from note type chooser dialog) forces
|
||||||
|
// re-querying of the autocomplete source which then changes currently selected suggestion
|
||||||
|
openOnFocus: false,
|
||||||
minLength: 0,
|
minLength: 0,
|
||||||
tabAutocomplete: false
|
tabAutocomplete: false
|
||||||
}, [
|
}, [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user