Skip to content
Snippets Groups Projects
Commit 00be7c28 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#760 - order transaction name suggestions alphabetically or by frequency of...

#760 - order transaction name suggestions alphabetically or by frequency of use during csv import too
parent d31c1c27
No related branches found
No related tags found
No related merge requests found
Pipeline #8452 failed
...@@ -24,6 +24,7 @@ $(document).ready(function() ...@@ -24,6 +24,7 @@ $(document).ready(function()
let nameElements = document.querySelectorAll('.autocomplete'); let nameElements = document.querySelectorAll('.autocomplete');
let autoCompleteInstances = M.Autocomplete.init(nameElements, { let autoCompleteInstances = M.Autocomplete.init(nameElements, {
data: transactionNameSuggestions, data: transactionNameSuggestions,
sortFunction: function(a,b, inputString) {return false;}
}); });
// prevent tab traversal for dropdown (otherwise "tab" needs to be hit twice to jump from name input to amount input) // prevent tab traversal for dropdown (otherwise "tab" needs to be hit twice to jump from name input to amount input)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment