Unplanned
Last Updated: 11 Jul 2023 07:18 by Steven

Bug report

When the Chinese IME typing is used and the minLength is set in the ComboBox the items can not be properly selected using the keyboard.

Reproduction of the problem

  1. Open the Dojo example - https://dojo.telerik.com/@NeliKondova/EZILudiz
  2. Add and use the Chinese language
    image
  3. Type 'bao' and press space to convert to Chinese
  4. Press Tab or Enter to select.

Current behavior

When minLength is defined the item in the ComboBox is not selected, the dataitem is not accessible in the change event handler (screencast). The item is selected as expected if the value is copy pasted (包).

Expected/desired behavior

The items should be selected when using the Chinese IME typing after filtering the data and selecting an item through the keyboard.

Environment

  • Kendo UI version: 2023.2.606
  • Browser: [all ]
Unplanned
Last Updated: 16 May 2022 10:39 by ADMIN
When using ServerFiltering and Suggest with the ComboBox, occassionally combobox.text() returns the suggested value instead of the typed value.

Would it be able to have the text function return only the unhighlighted portion of the text or add a function to return just the typed portion of the text?

        typedText: function () {
            var that = this,
                caret = kendo.caret(that.input),
                text = that.text();

            return caret ? text.substring(0, caret[0]) : text;
        },

Unplanned
Last Updated: 06 Dec 2021 07:02 by Ilia

Bug report

When the virtualization is enabled, mapValueTo option is set to dataItem and initial value is set in the ComboBox, the cursor is not set at the end of the item.

Reproduction of the problem

  1. Run the Dojo
  2. Open the dropdown popup.

Current behavior

The loaded value is 'Hungry Owl All-Night Grocers' but the cursor is not set at the end of the text, but at the fifth position in the item.

Expected/desired behavior

The cursor should be set at the end of the text.

Environment

  • Kendo UI version: 2021.3.1109
  • Browser: [all]
Unplanned
Last Updated: 27 May 2021 14:50 by ADMIN

Hi Team, 

I would like to request to include in the built-in API the functionality to hide the FixedGroupHeaderTemplate.  I like the appearance of the UI for ASP.NET AJAX RadComboBox when it is grouping, and it would be nice if the Kendo UI ComboBox could be configured to have the same look without manipulating CSS and adding extra code to the DataBound event.

Thank you!

Unplanned
Last Updated: 16 Oct 2020 09:54 by Ilia

Bug report

When making a selection, navigating to another page, and going back to the initial page, which is restored from the Back-Forward Cache in Firefox, the selection of the ComboBox is not displayed.

Reproduction of the problem

  1. Go to the ComboBox demo
  2. Make a selection in the ComboBoxes
  3. Click on any other demo link in the navigation pane to the left (e.g. “Server Filtering”)
  4. Press the "Back" browser button

Current behavior

The selections made are not displayed when the page is restored from the Back-Forward Cache

Expected/desired behavior

The selections made should be displayed when the page is restored from the Back-Forward Cache

Environment

  • Kendo UI version: 2020.3.915
  • Browser: [Firefox 81.0.2]
Unplanned
Last Updated: 09 Oct 2020 13:00 by ADMIN

If you bind a ComboBox widget to a datasource containing arbitrary objects that contain a "data" field, the dropdown items will be "undefined" instead of the value of the dataTextField. I'm guessing the data field is messing up the template variable.

var formData = [
   {
      key: '1',
      description: 'CT Safety',
      formTypeCd: 'S',
      data: {foo: '', bar: ''}
   },
   {
      key: '2',
      description: 'MR Safety',
      formTypeCd: 'S',
      data: {foo: '', bar: ''}
   },
   {
      key: '3',
      description: 'Medicare > 60 Billing',
      formTypeCd: 'I',
      data: {}
   }
];

$("#forms-combobox").kendoComboBox({
   dataTextField: "description",
   dataValueField: "key",
   dataSource: formData
});

Unplanned
Last Updated: 21 Sep 2020 12:43 by ADMIN
Created by: Doug
Comments: 3
Category: ComboBox
Type: Feature Request
0
Is it possible to limit the results coming back from a filter. We are using a combobox on a large dataset and if there are a large number of matches then the combobox slows to a crawl as it tried to respond.  
Unplanned
Last Updated: 05 May 2020 13:20 by ADMIN

Currently, the "suggest" option of the ComboBox is designed to work only in a combination with 'filter:"startswith"'. If you open this Dojo and enter "T' in the ComboBox, then focus the ComboBox out then the "Two" ComboBox item will be selected.

If in the above demo, we change the filter configuration to "contains", when we enter "T" and focus the ComboBox out, the behavior will be the same, and "Two" will be selected. If we instead of "T" enter "w" and focus the ComboBox out then "two" won't be selected. To make the "Two" item selected, with "filter:'contains'" configuration, we can use the below workaround.

No matter the below workaround, it will be very useful if the below logic or similar one can be built-in in the ComboBox component.

<input id="combobox" />
<script>
var fruit = [
    {code: 1, name: "One" },
    {code: 2, name: "Two"},
    {code: 3, name: "Three"}
];

var ds = new kendo.data.DataSource({
data: fruit
});

$("#combobox").kendoComboBox({
  dataTextField: "name",
  dataValueField: "code",
   suggest: true,
   filter: "contains",
  dataSource: ds,
  change: function(e) {
    var comboBox = $("#combobox").data("kendoComboBox");
    var dataItem = comboBox.dataItem();
    if (dataItem === undefined) {
//special code for mobile browsers to auto select the first entry
if (comboBox.text() != "") {
ds.filter({ field: "name", operator:"contains", value: comboBox.text() });
if (ds.view().length > 0) {
comboBox.select(function(dataItem) {
return dataItem.name === ds.view()[0].name;
});
}
}
    }
  }
});
</script>
<input id="fred">

 

Unplanned
Last Updated: 20 May 2021 08:54 by ADMIN
Created by: Maciej
Comments: 3
Category: ComboBox
Type: Feature Request
3
I want this https://docs.telerik.com/kendo-ui/controls/editors/combobox/how-to/customize/prevent-custom-values to be built-in. Instead of custom code, I would just add option preventCustomValues: true and I'm done. Thanks.
Unplanned
Last Updated: 25 Feb 2020 13:13 by ADMIN
Created by: Matthew
Comments: 1
Category: ComboBox
Type: Feature Request
3

A combobox that uses a grouped datasource does not adhere to WCAG 1.3.1. When a user navigates the options in the combobox popup, the group relationship is established for sighted users but the group is not announced to disabled users.

https://dojo.telerik.com/uJijOcOW/3

Unplanned
Last Updated: 11 Nov 2019 12:00 by Brent
Bug report
When submitting a selection in the ComboBox via Enter keypress an incorrect item is selected.

Reproduction of the problem
Run this dojo
Enter 199 in the input field and:
Click outside of the input field - text() returns 199, value() returns 199
Hit Tab key - text() returns 199, value() returns 199
Hit Enter key - text() returns 4, value() returns 199
With Kendo UI versions after 2018.2.516 pressing the Tab key outputs the same result as pressing the Enter key.

Current behavior
An incorrect item from dataSource is being selected on Enter keypress.

Expected/desired behavior
Selection modes should return same item.

Environment
Kendo UI version: 2018.2.516
Browser: [all]
Unplanned
Last Updated: 05 Sep 2019 10:39 by ADMIN

Hi,

we found a hard to reproduce bug in the combobox control. It appears infrequently while typing in the combobox input, if the combobox has grouping and the fixed header enabled. It does not seem to have functional implications to the control but it produces a javascript error.

Stacktrace:


_firstVisibleItem: function () {
    for (var t = this.element[0], n = this.content[0], i = n.scrollTop, r = e(t.children[0]).height(), o = Math.floor(i / r) || 0, a = t.children[o] || t.lastChild, s = a.offsetTop < i; a; ) if (s) {
      if (a.offsetTop + r > i || !a.nextSibling) break;
      a = a.nextSibling
    } else {
      if (a.offsetTop <= i || !a.previousSibling) break;
      a = a.previousSibling
    }
    return this._view[e(a).data('offset-index')]
  }

It seems to be a timing problem where the list is already loading again while the scroll from the item selection is not finished.

Unplanned
Last Updated: 27 Nov 2019 09:56 by ADMIN
Created by: Anders Mad.
Comments: 1
Category: ComboBox
Type: Bug Report
1

Hi,

You prob. already know this, but in Chrome attribute autocomplete should be "disabled" instead of "off" for e.g. combobox - then we don't get the auto fill.

Even thought it has no id nor name - I think it looks at the lavbel - in my case its "Name" and the combobox get a big Chrome auto fill from the address book. Setting it from "off" to "disabled" will disable both auto complete AND auto fill.

The same goes for the AJAX Combobox - will you notify that team too? Current hotfix for that is `$(".rcbInput").attr("autocomplete", "disabled");`

Thanks

/Anders