Current lookup implementation works in the way, that when user starts to type in a text, the dropdown is filtered and when Enter is pressed, the first option in the dropdown is selected.
But when the dropdown is emptied by searched text (no value is found) pressing Enter selects last dropdown option that was available during typing of the searched text.
The expected behaviour is that there should be no selection and the lookup value should be null
.