Build a filterable select: a free-type input to type into, and the real (the field a form submits), hidden until 2+ typed characters match something. With a pointer: click a match. With keys: Down arrow into the list, arrows to move, Enter to pick (in the input: the option with exactly that label), Escape to close. Editing the text after a pick un-picks it, and an untouched typeahead submits '' (a hidden, empty first option), never whichever option the browser happened to select.
The typeahead's container item.
Build a filterable select: a free-type input to type into, and the real