Given a user has typed a selection
and there is an available option in the list
and there is an available option in the list that is highlighed
When they press enter
Then it should select the highlighted option
and close the list.
Given a user has opened the selection list
When they press esc
Then the list should close
and cancels any changes
and resets the input
Given a user has typed a selection
and there is an available option in the list
and there is an available option in the list that is highlighed
When they press
enterThen it should select the highlighted option
and close the list.
Given a user has opened the selection list
When they press
escThen the list should close
and cancels any changes
and resets the input