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

DropDownList doesn't update AngularJS model after search

1 Answer 153 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Taras
Top achievements
Rank 2
Taras asked on 15 Feb 2018, 10:30 AM

Hello,

We use Kendo controls with AngularJS. If an user performs some search and then choose one of found items using keyboard, the Angular's model is not updated.

Steps to reproduce:

- open https://dojo.telerik.com/eledi

- select drop down and type 'item' in the input

- select one of found items using arrows buttons and press Enter

Result:

When Enter is pressed the 'close' event fired only.

'change' event is not fired and the model won't be updated.

See video https://www.screencast.com/t/ecce6h8EW for details.

 

As a temporary fix we trigger change event in 'close' handler:

                close: function (e) {
                    this.trigger('change');
                },
But this is not a good solution because each developer must remember about this issue.

Could you please provide more elegant workaround?

 

Thanks in advance!

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 19 Feb 2018, 08:15 AM
Hi Taras,

Thank you for providing detailed steps for reproducing the issue. This is a known issue with R1 2018 release and it is already fixed for R1 2018 SP1, which is expected later this week.

Best regards,
Dimitar
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
DropDownList
Asked by
Taras
Top achievements
Rank 2
Answers by
Dimitar
Telerik team
Share this question
or