New to Kendo UI for jQuery? Download free 30-day trial

Prevent Adding Custom Values

The following example demonstrates how to prevent adding custom values to a Kendo UI ComboBox.

  <div id="example">
    <div class="demo-section k-header">
      <input id="products" style="width: 400px" />
      $(document).ready(function() {
          placeholder: "Select product",
          dataTextField: "ProductName",
          dataValueField: "ProductID",
          filter: "contains",
          autoBind: false,
          minLength: 3,
          dataSource: {
            type: "odata",
            serverFiltering: true,
            transport: {
              read: {
                url: "",
          change: function(e) {
            var widget = e.sender;

            if (widget.value() && === -1) {
              //custom has been selected
              widget.value(""); //reset widget

    <style scoped>
      .demo-section {
        width: 400px;

See Also

For more runnable examples on the Kendo UI ComboBox, check its how-to articles.

In this article
Not finding the help you need? Improve this article