List Source
List of autocomplete suggestion can be taken from datalist
element ase below:
Ajax Prefect
The suggestions text can also be prefect during initialize time. This method will call ajax request once in the render time. This method is better if suggestions text is not too many
Ajax Source
Suggestion text taken during user typing. This method is good for datalist that is too much for single request.
Ajax Source ( With Relation )
Add additional query string to ajax request during user typing by adding option filterRelation
On Render Item
Right after a suggestion item element already rendered and is already on view, event `itemrender.bs.autocomplete` will be called that get two parameters, element, and rendered item.
Pick Item
Right after user pick an option, event `pick.bs.autocomplete` will be called that get two parameters, element, and picked element.