Asyncron server call while typing in Textfield


I’d like to implement an instant search with a TextField (or similar). The idea is, that after let’s say 3 chars, the search is “activated”. I’d like to query some possible proposals and show them in a drop down list. Important is, that a running query must be cancelled when changing the TextField content (typing a new char) and a new query is startet.

Yes, the same feature as in Google search :slight_smile:

Is this possible in Vaadin and what would be the best way to do it (as simple as possible)?

Thanks in advance

…or would it be better, not to cancel a running server call, but to wait for it an start a possible new call after receiving the result list from the previous?