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

Unable to clear text with backspace

5 Answers 78 Views
AutoComplete
This is a migrated thread and some comments may be shown as answers.
Wayne Hiller
Top achievements
Rank 1
Veteran
Iron
Wayne Hiller asked on 27 Mar 2015, 11:35 PM
http://demos.telerik.com/kendo-ui/autocomplete/mvvm

In this demo (same as my code) Once you select an item from the list it is impossible to clear it or backspace the text.

5 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 30 Mar 2015, 09:32 AM
Hello Wayne,

This is a known issue, that is already addressed in the latest internal build of Kendo UI. You can download it from your account.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
John
Top achievements
Rank 1
answered on 10 Apr 2015, 05:46 PM

I also need this fix.  Can you please explain how to "download the fix from your account?"

 

Thanks,

John

0
Atanas Georgiev
Telerik team
answered on 13 Apr 2015, 01:24 PM
Hello John,

To download the latest internal please login in your Telerik Account, click on Products & Subscriptions ->  "Latest internal builds". You should be navigated to a dropdown from which to choose the product and download.

Regards,
Atanas Georgiev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
John
Top achievements
Rank 1
answered on 14 Apr 2015, 02:18 PM

Thank you.  I downloaded the internal build and you can clear the text now but if the user starts typing again, the autocomplete doesn't re-query the datasource with the new value the user entered.  example code below:

$scope.locationDescriptionDataSource = {
      transport: {
        read: {
          dataType: "jsonp",
          url: configService.apiRootUrl + "api/trainingTravelLocations",
          data: {
            term: function () {
              return $("#locationDescription").data("kendoAutoComplete").element[0].value;
            },
          }
        }
      }
    };

 $scope.locationDescriptionOptions = {
      dataSource: $scope.locationDescriptionDataSource,
      filter: "contains",
      minLength: 3,
      dataTextField: "location",
      primitive: true
    };

<input kendo-auto-complete id="locationDescription" name="locationDescription" k-options="locationDescriptionOptions" data-bind="value: locationDescription" />

0
Georgi Krustev
Telerik team
answered on 16 Apr 2015, 07:22 AM
Hello John,

I believe that the described problem does not exists in the latest official release - Q1 2015 SP1 (2015.1.408). The online demos uses that version. Here is a screencast that shows that the widget filters the source when the text is changed. Let me know if I am missing something.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
AutoComplete
Asked by
Wayne Hiller
Top achievements
Rank 1
Veteran
Iron
Answers by
Georgi Krustev
Telerik team
John
Top achievements
Rank 1
Atanas Georgiev
Telerik team
Share this question
or