I'm trying to get an editor inside of a panelbar to work. The only way it works is if I have a pre-selected panel. Without a pre-selected panel kendo dies with the error "TypeError: t is undefined".
It seems I can only include the editor when there is a pre-selected panel. No pre-selected panel and no editor works.
With the code below, activate either the data-role or the pre-selection class, and it will fail.
It seems I can only include the editor when there is a pre-selected panel. No pre-selected panel and no editor works.
With the code below, activate either the data-role or the pre-selection class, and it will fail.
<div id='main'> <ul data-role="panelbar" data-expand-mode="single" > <li xclass="k-state-active"> Send Email <div style="padding: 10px;"> <textarea xdata-role='editor' data-bind='value: emailBody' > </textarea> </div> </li> <li> Send Text <div style="padding: 10px;"> Text Stuff </div> </li> <li> Dymo label <div style="padding: 10px;"> Label Stuff </div> </li> </ul> </div> <script> console.log(kendo.version) var viewModel = kendo.observable({ emailBody: '', actionEmail: function(ev) { } }) kendo.bind($("#main"), viewModel); </script>