Edit this page

separator String |Array (default: "")

The character used to separate multiple values. Empty by default.

As of Q3 2016 the Autocomplete widget supports multiple separators listed in an array. All separators will be replaced with the first array item, which acts as a default separator.

Using the separator option will still bind the primitive stringe value of the input. In case you need to bind multiple data items, you can consider the MultiSelect widget.

Example - set separator to allow multiple values

<input id="autocomplete" />
<script>
$("#autocomplete").kendoAutoComplete({
  separator: ", ",
  dataSource: {
    data: ["One", "Two"]
  }
});
</script>

Example - set multiple separators

<input id="autocomplete" />
<script>
$("#autocomplete").kendoAutoComplete({
  separator: [", ", "; "],
  dataSource: {
    data: ["One", "Two"]
  }
});
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy