Factored out the keycodes to constants. Fixed keyboard navigation for closed state and empty value handling.
Open the dropdown by click on the text field.