Skip to content

AutoComplete doesnt have debounce  #659

Open
@jvelezc

Description

@jvelezc

How would I got about using debounce and this RadAutoSuggest http://docs.telerik.com/devtools/nativescript-ui/Controls/NativeScript/AutoCompleteTextView/autocomplete-aync-data has nothing on it. Also would be nice if you did webapis instead of raw data like that to be more realistic.

debounceTime will first wait 300ms and then continue. This means that when the user types their first letter it will not immediately go and search for suggestions, but it waits 300ms. debounceTime will also reset its timer when the user types something new within the 300ms. If the user continues to type without a pause of 300ms it will never reach the suggestions search function. Luckily this will not happen, but it does mean suggestions will only be called after the user is done typing. This can be something you want, but the user will probably never get suggestions while typing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions