There is an autocomplete component available in Anvil Extras
It might be able to help you with the UI