Open welcoMattic opened 10 years ago
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
undefined
@welcoMattic could you show us a live example?
I try to execute the demo app, but doSomething() function looks like mute. My console.log('test'); inside is not triggered.
The html :
The JS inside my controller :
EDIT:
After debugging test, in autocomplete.js, $scope.onType is
undefined