diff --git a/BudgetMasterServer/src/main/resources/static/js/transactionImport.js b/BudgetMasterServer/src/main/resources/static/js/transactionImport.js index 80fcbb31a9543895c1e3dfa1b40efe8658b48ce6..94808623cf74015342c7fdd03540608b205a91ef 100644 --- a/BudgetMasterServer/src/main/resources/static/js/transactionImport.js +++ b/BudgetMasterServer/src/main/resources/static/js/transactionImport.js @@ -24,6 +24,7 @@ $(document).ready(function() let nameElements = document.querySelectorAll('.autocomplete'); let autoCompleteInstances = M.Autocomplete.init(nameElements, { 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)