Skip to content
This repository has been archived by the owner on Dec 30, 2018. It is now read-only.

Can't use ng-repeat scope value to control autocomplete for a specific context #4

Open
chatellier opened this issue Sep 6, 2013 · 3 comments

Comments

@chatellier
Copy link

Hi,

My problem is described in this fiddle: http://jsfiddle.net/J778K/8/

I want autocomplete to propose specific auto completion values when used into a ng-repeat (depending on each ng-repeat loop value).

Is that possible ?

@chatellier
Copy link
Author

Here is a workarround using a function to get ui-autocomplete options : http://jsfiddle.net/J778K/9/

@zensh
Copy link
Owner

zensh commented Sep 17, 2013

I have put your code into ui-autocomplete's demo, and it worked! So there may be something wrong in http://jsfiddle.net/

@chatellier
Copy link
Author

http://jsfiddle.net/J778K/8/ is working, but don't display expected results (harcoded FIXME in js code)
http://jsfiddle.net/J778K/9/ is working with expected result (but with a work arround).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants