Auto-complete on Enter

main
Luca 2 years ago
parent ef3c46ab23
commit de064195ff

@ -66,7 +66,7 @@ const registerEvents = row => {
}
event.preventDefault();
} else if (event.key === 'Tab') {
} else if (event.key === 'Enter') {
input.placeholder = '';
input.value = input.dataset.bestMatch || '';
input.dataset.bestMatch = '';

Loading…
Cancel
Save