How add ng-change event
munkh-altai opened this issue · 3 comments
munkh-altai commented
Thank you your Good work
Hello how to add ng-change event
munkh-altai commented
your product very nice i just add ng-change="some_function(model)"
it is work thank you
axel-zarate commented
You can also provide an onSelect
callback function in the options you pass to the directive.
In your controller:
$scope.options = {
onSelect: function (item) {
// handle
}
};
And in you view:
<div custom-select="options" ng-model="..." ng-options="..."></div>
munkh-altai commented
Thank you