ngAutocomplete icon indicating copy to clipboard operation
ngAutocomplete copied to clipboard

Compile Error when ngModel is omitted

Open AlexSchwabauer opened this issue 11 years ago • 2 comments

In some cases you'd want to only display the autocomplete input without binding a scope variable to it.

AlexSchwabauer avatar Mar 15 '14 22:03 AlexSchwabauer

Sorry for the delayed response to this but could you outline your use case? Just curious why you would want the autocomplete with nothing bound to it.

wpalahnuk avatar Apr 16 '14 03:04 wpalahnuk

+1 My Use Case Scenario: I am using the details attribute to parse the response from the autocomplete (places api) result and save into the following object: location: {city: "city", state: "state"} . So, I do not need the ng-model attribute to bind a scope variable to the input.

rohitverma007 avatar Aug 27 '14 18:08 rohitverma007