or
<div data-bind="text: person.lowerCaseName"></div>
to call a function that returns a lowercase string but if I do that on a select I just get the string representation of the function I declared. If I added parenthesis to the end then the correct value was displayed in the select box but that broke the code if I used an optionLabel, which leads into my next question.<div id="data-view" data-bind="source: this" data-template="data-view-template"></div><script type="text/html" id="data-view-template"> <div> <input id="search" data-role="autocomplete" data-bind="source: ds, value: this" data-text-field="Name" /> <div data-bind="text: Value"></div> </div></script>$(function () { var values = [{ Name: "Foo + Bar", Value: 1 }, { Name: "Foo - Bar", Value: 2 }, { Name: "Foo * Bar", Value: 3 }]; var model = kendo.observable({ Name: "???", Value: "???", ds: values }); kendo.bind($("#data-view"), model);});<script type="text/html" id="data-view-template"> <div> <input id="search" data-role="autocomplete" data-bind="source: ds, value: Person" data-text-field="Name" /> <div data-bind="text: Person.Value"></div> </div></script>var model = kendo.observable({ Person: { Name: "???", Value: "???", }, ds: values});