so basically i am using rest api to get list addresses.

A user type the start of the address and a list of available addresses will 
be shown with that start.

So  there is a text box where user will type the start of the address and a 
list of available options will be created as an orderlist.

Now problem is i am not able to select option from this order list 
eventhough i can scroll up and down.

Below is the code:

<div>
    <input type="text" class="ea-input" ng-keyup="searchAddress()" 
placeholder="Luotsikatu 23 b 83, 00500" ng-model="inputAddress" 
ng-value="ngValue">
    <div class="ea-button">HAE</div>
    <ol ng-model="key" id="addressResults" address-search></ol>
</div>


angular.module("of-lead-netti")
    .directive('addressSearch', function() {
        return {
            template:'<li ng-repeat="address in addresses" 
selection-model>{{address.displayAddress}} </li>'

 };
});


Any help will be appreciated :)

-- 
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.

Reply via email to