This is a migrated thread and some comments may be shown as answers.

angularjs Kendoui autocomplete search when press enter with remote datasource

1 Answer 337 Views
AutoComplete
This is a migrated thread and some comments may be shown as answers.
Pierre
Top achievements
Rank 1
Pierre asked on 22 Nov 2017, 01:31 PM

Hello. 

I have a question about kendoui autocomplete and angularjs. I need to start the search when the user press enter how can i accomplish that?

Thx for the help.

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 24 Nov 2017, 09:51 AM
Hello Pierre,

Here's a dojo example, which demonstrates how such behavior can be implemented. When you enter text for example "ch" the AutoComplete's filtering event is fired. It can be prevented conditionally based on a value of a flag ("enterIsPressed"). An Enter key press is detected and the AutoComplete search method is called with the entered text ("ch") passed as a parameter.

Regards,
Ivan Danchev
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
AutoComplete
Asked by
Pierre
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or