typedText: function () {
var that = this,
caret = kendo.caret(that.input),
text = that.text();
return caret ? text.substring(0, caret[0]) : text;
},
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.
Regards,
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.