Dynamic creation of kendoComboBox

0 Answers 78 Views
ComboBox
Simon
Top achievements
Rank 1
Simon asked on 03 Mar 2023, 11:03 AM

We are currently trying to upgrade from 2019.3.917 to 2023.1.117

Some code that worked fine in the old version is failing in the new with error in kendo.combobox.js line 1221

Error message
Uncaught TypeError: Cannot read properties of undefined (reading 'renderButton')

Line 1221

values: kendo.cssProperties.roundedValues.concat([['full', 'full']])

the debugger is highlighting the second 'full'.

Our code is quite complex but commenting most of it out I get the same thing so a simplified version:

Our html page has this input

<input id="departments" style="width: 500px;" />

Then our javascript to create the combobox is

var $combo = $("#departments);

objKendoCB = $combo.kendoComboBox();

The second line results in the error. (the actual code sets lots of properties but I removed them one by one to end up with an empty method call).

Any ideas welcome!

 

Martin
Telerik team
commented on 08 Mar 2023, 09:10 AM

Hi, Simon, 

I suggest continuing the communication in the support thread you opened on the matter. Once we have more details about what is going on, we can share them here in case other users hit that issue.

No answers yet. Maybe you can help?

Tags
ComboBox
Asked by
Simon
Top achievements
Rank 1
Share this question
or