html部分:
<div isteven-multi-select
input-model="allPersonnelGrouped"
output-model="groupedOutput"
button-label="icon name"
item-label="icon name maker"
tick-property="ticked"
max-height="250px"
group-property="msGroup">
</div>


angularjs部分:
$http.get('/messages/shifts').success(function(data) {

$scope.groupedShifts = data;


angular.forEach( $scope.groupedShifts, function( groupShift ) {

$scope.allPersonnelGrouped = [
{ name: '<strong>All Shifts</strong>', msGroup: true },
{ name: '<strong>' + groupShift.title + '</strong>', msGroup: true },
{ icon: '', name: groupShift.personnel, maker: '(' + groupShift.email + ')', ticked: false },
{ msGroup: false },
{ msGroup: false }
];

});

});

相关文章:

  • 2021-06-08
  • 2022-02-12
  • 2021-05-29
  • 2022-01-03
  • 2021-12-24
  • 2022-12-23
  • 2021-06-27
  • 2021-06-27
猜你喜欢
  • 2022-01-16
  • 2021-11-28
  • 2021-10-06
  • 2022-01-29
  • 2021-11-18
  • 2021-07-29
  • 2021-11-22
相关资源
相似解决方案