Unable to clear text with backspace

6 posts, 0 answers
  1. Wayne Hiller
    Wayne Hiller avatar
    37 posts
    Member since:
    Sep 2005

    Posted 27 Mar 2015 Link to this post

    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.
  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3706 posts

    Posted 30 Mar 2015 Link to this post

    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!
     
  3. Kendo UI is VS 2017 Ready
  4. John
    John avatar
    5 posts
    Member since:
    Jun 2011

    Posted 10 Apr 2015 in reply to Georgi Krustev Link to this post

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

     

    Thanks,

    John

  5. Atanas Georgiev
    Admin
    Atanas Georgiev avatar
    126 posts

    Posted 13 Apr 2015 Link to this post

    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!
     
  6. John
    John avatar
    5 posts
    Member since:
    Jun 2011

    Posted 14 Apr 2015 in reply to Atanas Georgiev Link to this post

    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" />

  7. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3706 posts

    Posted 16 Apr 2015 Link to this post

    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!
     
Back to Top
Kendo UI is VS 2017 Ready