I've encountered an issue with my dropdown menu not displaying data when I select the appropriate option. There are two choices available.
CSHTML
<ui-select ng-model="ctrl.requestType" theme="selectize" title="Choose type of requisition" style="min-width: 140px;">
<ui-select-match placeholder="Select type of requisition">
<span ng-bind="$select.selected.name"></span>
</ui-select-match>
<ui-select-choices repeat="existingRequestType.name as existingRequestType in ctrl.existingRequestTypes | filter: $select.search">
<span ng-bind-html="existingRequestType.name| highlight: $select.search"> -
</span>
</ui-select-choices>
</ui-select>
Angular.JS format
app.controller('myCtrl', function($scope, $http, $timeout, $interval) {
vm.existingRequestTypes = [{
name: 'Purchase'
},
{
name: 'Lease'
}
];
}
Appreciate any assistance provided!