JustGoscha / allmighty-autocomplete

Simple to use autocomplete directive in a module for AngularJs!
MIT License
392 stars 232 forks source link

How i can get the value ? #136

Open theseeker16 opened 7 years ago

theseeker16 commented 7 years ago

Hi,

I was trying to get the value doing this "vm.select = document.getElementById('field_autocomplete');"But I only get null value

HTML:<autocomplete type="text" attr-input-id="field_autocomplete" name="tema" class="form-control" ng-model="completeTema" data="temas" on-type="updateTemas" on-select="doSomethingElse">

If you have any solution im really appreciate. Thanks