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

autocomplete sets itself back to $pristine state after input

3 Answers 51 Views
AutoComplete
This is a migrated thread and some comments may be shown as answers.
Jonathan
Top achievements
Rank 1
Jonathan asked on 15 May 2015, 10:25 PM

http://demos.telerik.com/kendo-ui/autocomplete/angular

You can see the issue in the demo page.  If you inspect the autocomplete element on initial page load without doing anything else, and then type into the autocomplete field, you will see that the input's state switches between ng-dirty and ng-pristine.  if you select outside of the input field and then back into the field, it's dirty state works as expected.  

 

This is messing with our angular validation messages where we only want to show a message when the input is dirty.

3 Answers, 1 is accepted

Sort by
0
Plamen Lazarov
Telerik team
answered on 19 May 2015, 07:38 AM

Hello Jonathan,

Thank you for reporting the issue.

We were able to reproduce it and it is logged in Github.

As a small token of gratitude I updated your Telerik points. 

Regards,
Plamen Lazarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Plamen Lazarov
Telerik team
answered on 19 May 2015, 03:16 PM

Hello Jonathan,

The issue has been fixed. The fix will be included in the next internal build and can be downloaded by following the steps below: 

    1. Login to your account and go to Products and Subscriptions.

    2. Go to Kendo UI Proffesional

    3. Then on the right sight go to Latest Internal Build. 

Regards,
Plamen Lazarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Jonathan
Top achievements
Rank 1
answered on 19 May 2015, 04:13 PM
awesome. thanks for the help.
Tags
AutoComplete
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Plamen Lazarov
Telerik team
Jonathan
Top achievements
Rank 1
Share this question
or