Completed
Last Updated: 25 May 2022 07:15 by ADMIN

Bug report

Reproducible with suggest: true and serverFiltering: true
Regression introduced in 2019.3.1023.

Reproduction of the problem

Dojo example.

  1. Focus the input area.
  2. Type in "che".
  3. Click the clear button.

Current behavior

The first item is selected.

Expected/desired behavior

The input is cleared.

Environment

  • Kendo UI version: 2019.3.1023
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 11 Jan 2021 15:02 by ADMIN
In order to fix concerns from #241 (https://github.com/telerik/kendo-ui-core/issues/241) the Autocomplete now shows a full list of items when the text entered has been deleted.  This ignores the MinLength option, and can cause unresponsiveness in the browser (since MinLength is generally there to reduce the amount of results).  From #574 this new functionality is intentional (and as such, the thread was closed as won't fix), but in practical terms, this causes issues for a lot of people.  If you really don't want to enforce MinLength when 0 results are returned, perhaps adding an extraoption like 'AlwaysEnforceMinLength' would solve this problem
Declined
Last Updated: 29 May 2019 06:48 by ADMIN
Created by: Amber
Comments: 3
Category: AutoComplete
Type: Feature Request
0
I was looking into why the data value of the Autocomplete control was not submitting to my controller via an ajax form and came across this article: https://www.telerik.com/forums/autocomplete-send-selected-dataitem-to-controller#-BRzEKVnbUyebqxFKYWpcA. Would it be possible in a future release to include a dataValueField option so that the value of the data item selected can be used by the controller? What's weird is this is not an issue when using the autocomplete control inside a grid. I was able to get the value and update my model.