Skip to content

Cant evaluate dynamic option value  #77

@DeanMW

Description

@DeanMW

I am trying to input a dynamic value to the options parameter but it does not seem to be evaluating. What would be the best way to do this? I have an ng-repeat form that I will not be able to have a scoped variable for each ngAutocomplete input. An example:

http://plnkr.co/edit/41hfxvlZABIGeGAikfi2?p=preview

As you can see I have two ngAutocomplete inputs both have the country as a dynamic option but neither work. Is there a way to do this?

One thing I have tried was changing options: "=?" to options: "@?" in the directive which seems to allow {{country}} but it still does not limit the countries correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions