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

Make Visible ComboBox Inputs Read-Only


Product Progress® Kendo UI® ComboBox for jQuery
Operating System Windows 10 64bit
Visual Studio Version Visual Studio 2017
Preferred Language JavaScript


How can I make a visible input of a Kendo UI ComboBox read-only?


The following example demonstrates how to achieve the desired scenario.

<div id="example" role="application">
  <h4>T-shirt Fabric</h4>
  <input id="fabric" placeholder="Select fabric..." />
  $(document).ready(function() {
    // create ComboBox from input HTML element
      dataTextField: "text",
      dataValueField: "value",
      dataSource: [
        { text: "Cotton", value: "1" },
        { text: "Polyester", value: "2" },
        { text: "Cotton/Polyester", value: "3" },
        { text: "Rib Knit", value: "4" }
      filter: "contains",
      suggest: true,
      index: 3

    var fabric = $("#fabric").data("kendoComboBox");

    fabric.input.attr("readonly", true)
    .on("keydown", function(e) {
      if (e.keyCode === 8) {

See Also

In this article