Skip to content

Commit 4221251

Browse files
committed
Fix incorrect dropdownlist select demo
1 parent aeb3177 commit 4221251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/javascript/ui/dropdownlist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ A number representing the index of the item or function predicate which returns
925925
var dropdownlist = $("#dropdownlist").data("kendoDropDownList");
926926

927927
dropdownlist.select(function(dataItem) {
928-
return dataItem.text === "Apples";
928+
return dataItem.name === "Apples";
929929
});
930930
</script>
931931

0 commit comments

Comments
 (0)