I'm trying to get all the list items from a KendoComboBox.
The list has been built using a custom angularjs directive:
html
<input id="comboBox" />
sgComboBoxField directive:
'use strict'; angular.module('sgComponents').directive('sgComboBoxField', ['sgComboBoxService', function(sgComboBoxService) { return { link: function (scope, element, attrs, ctrls) { var dropdownlist = element.find('#comboBox'); dropdownlist.kendoComboBox({ //various options needed to set up the combox (like datasource) obtained from service )}; // tried a breakpoint here in chrome but the items are not visible! } } }]);
My question is, how do I get all the list items from the combobox once it is loaded on the DOM?