angularjs-dropdown-multiselect
angularjs-dropdown-multiselect copied to clipboard
Special event for selecting item in group
In my code, I'm using onItemSelect (not onSelectionChanged) to take a specific action when an item is selected. But when items are selected by their group using selectByGroups, onItemSelect doesn't fire. It looks like that's because of this line in selectCurrentGroup: $scope.setSelectedItem(item, false, false); If there's a particular reason why we don't want onItemSelect to fire for selecting items in the groups, maybe we could get a new event like onItemSelectInGroup? Or does anyone have a better solution? Thanks.