Autocomplete - always select a response

Autocomplete - always select a response

Hello, I'm trying to make use of an autocomplete where I need to force the user to select something, preferably as they type the first matched item would be automatically selected.

Looking at the code I think I need to somehow tell it to select the first menu item each time a new result comes in, then the user can go from there, but I'm not sure how to do this, if anyone has any ideas it would be much appreciated!

Thanks

Richard