title: How can I replace an existing Kendo UI widget?
body: <p>I'm trying to extend an existing KendoUI widget (autocomplete). Since our application is already using a lot of instances of the autocomplete widget, I don´t want to create a new widget which extends the current one but rather replace the existing one.</p>
  
  <p>I already found this topic: <a href="https://stackoverflow.com/questions/18175988/kendo-ui-autocomplete-extend">kendo-ui autocomplete extend</a>, but unfortunately it points creating a new one.</p>
  
  <p>I tried the following code:</p>
  
  <pre><code>   var plg = kendo.ui.AutoComplete.extend({
          options: {
              name: 'AutoCompleteMyOne'
          },
          init: function (_element, _options)
          {
              kendo.ui.AutoComplete.fn.init.call(this, _element, _options);
  
           /*...*/
          }
      });
      kendo.ui.plugin(plg);
  </code></pre>
  
  <p>The point is the name-attribute of the options. If the name is only "AutoComplete" the initialization does not work anymore: This line ends in an endlessloop: </p>
  
  <pre><code>kendo.ui.AutoComplete.fn.init.call(this, _element, _options);
  </code></pre>
  
  <p>How can I call the base-initialization or is it really overwritten?</p>