sengirab / ngAutocomplete

Light-weight autocomplete component for Angular.
MIT License
52 stars 24 forks source link

Bind with ngModel #24

Open christodev1 opened 5 years ago

christodev1 commented 5 years ago

how can i bind ngAutocomplete with ngModel? I have a model like this

let prod:Product = { id:1, name:"cookie", item_supplies:[ {id:1,name:"test",quantity:5}, {id:2,name:"test1",quantity:44}, {id:3,name:"test2",quantity:22} ] }

So i need a input (autocomplete) for every item_supply. How can i bind with ngModel?