allmighty-autocomplete
allmighty-autocomplete copied to clipboard
doSomething function not executed
trafficstars
I try to execute the demo app, but doSomething() function looks like mute. My console.log('test'); inside is not triggered.
The html :
<autocomplete ng-model="result" attr-placeholder="type to search movies..." click-activation="true" data="movies" on-type="doSomething" on-select="doSomethingElse"></autocomplete>
The JS inside my controller :
$scope.doSomething = function(input) {
console.log('test');
}
EDIT:
After debugging test, in autocomplete.js, $scope.onType is undefined
@welcoMattic could you show us a live example?