kadoshms / ionic2-autocomplete

Ionic 2 autocomplete component
MIT License
149 stars 108 forks source link

How to get selected item properties on button click? #77

Closed parthustad closed 7 years ago

parthustad commented 7 years ago

How to get selected item properties on button click?

how to allow item to be selected from only list?

kadoshms commented 7 years ago
  1. Will be supported in the next release
  2. Will be supported probably in the future
roboflank commented 7 years ago

@kadoshms Am interested in this too. How do i initiate a function call for example after user clicks a result.

Thanks

vasanth-qedquest commented 7 years ago

<ion-auto-complete [dataProvider]="completeTestService" (itemSelected)="itemSelected($event)"></ion-auto-complete>

kadoshms commented 7 years ago

You can use the getSelection() method.