Handling of item selection should be left completely to views, including reacting to keyboard events when autocomplete is active. The `accept` function should get an `Item` or its index as a parameter.