Hi ,
I have implemented custom directory jquery auto-complete . this
directory when the page load that is automatically bind , that time i dont
have the value , when i click the getData button that data will come from
server. that data is not loading in my auto complete text box can any one
suggest the solution
app.directive('ngAutoComplete', function($timeout) {
return function(scope, iElement, iAttrs) {
console.log("the UI values");
console.log(iAttrs);
iElement.autocomplete({
source: scope[iAttrs.uiItems],
select: function() {
$timeout(function() {
$.trigger('input');
}, 0);
}
});
}
}) ;
<td class ="tms-border-grey-1 tms-sheader-h8 tms-font-bold
tms-background-F4F6FA"><input ng-model="componentCd" name="fiocodes"
ng-auto-complete ui-items="fioPhaseAction.fioCodes" reqiured/></td>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.