Custom binding for autocomplete.
To enable an autocomplete on a text input, apply the attribute ko-autocomplete like this :
- source : If a string is given, the data will be searched on the URL given,
else the data object will be used
- search (default 'label'): If source is an object, 'search' defines the property
name the autocomplete will be computed on
- label (default 'label'): This defines the property that will be displayed in the result list
- change (default null) : This function will be called when the value of the input changes.
The selected line will be injected as first argument
- delay (default 400) : This property defines the delay after the last key pressed
before computing the autocomplete search
- Source: