It does do that. Not sure why it wasn’t working for you. I was planning on adding autocomplete later today. Never mind I just noticed it’s not working on the link here but does work on codepen.
Err . . . you were right. I wrote in a bit of code to account for when someone enters nothing and presses stuff but that messed up the code and I lost the keypress function had to fix that just now.