Last Updated: 16 May 2022 10:39 by ADMIN
Akesh Gupta
Created on: 13 May 2022 12:28
Category: ComboBox
Type: Feature Request
Get TypedText from ComboBox with ServerFiltering and Suggest enabled
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;

1 comment
Veselin Tsvetanov
Posted on: 16 May 2022 10:39

Hello Akesh,

The ComboBox.text() method is expected to always return the entire text present in the ComboBox input. As the suggest option will force an auto-fill in the input, the text() method returns the full text (typed + suggested).

As per your suggestion, having a separate typedText() method in the widget makes perfect sense. That is why I have converted the current thread to a feature request in our feedback portal. Here is the public link for that:


Do not forget to cast your vote for it as that will move it sooner in our priority queue.

Veselin Tsvetanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.