darylrowland / angucomplete

AngularJS Autocomplete Directive
510 stars 281 forks source link

Not able to add multiple autocomplete directives in the same scope. #111

Open aryeharmon opened 9 years ago

aryeharmon commented 9 years ago

i am not able to create multiple auto completes in the same scope.

example:

        <angucomplete id="ex1"
                      placeholder="test1"
                      pause="100"
                      selectedobject="selectArea"
                      localdata="countries"
                      searchfields="name"
                      titlefield="name"
                      minlength="1"
                      inputclass="form-control form-control-small"/>
        <angucomplete id="ex2"
                      placeholder="test2"
                      pause="100"
                      selectedobject="selectedLocation"
                      localdata="countriesa"
                      searchfields="name"
                      titlefield="name"
                      minlength="1"
                      inputclass="form-control form-control-small"/>

only loads the first one.