Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic identifier on input from $scope value #1529

Closed
vjuras opened this issue May 13, 2016 · 6 comments
Closed

Dynamic identifier on input from $scope value #1529

vjuras opened this issue May 13, 2016 · 6 comments
Labels

Comments

@vjuras
Copy link
Contributor

vjuras commented May 13, 2016

I need dynamic id's or other identifier on label/input elements for Selenium tests.
It seems that current implementation do not compile/evaluate values from scope.

For example

<div id="myid-{{scopeValue}}" ngf-select></div>

gives

<input type="file"  id="ngf-myid-{{scopeValue}}" ...>

here is jsfiddle: http://jsfiddle.net/sg5d1cuq/

In my case I have file tree where each folder uses ng-file-upload and handles upload.
File tree is generated using ng-repeat so id's can't be hard-coded.

@vjuras
Copy link
Contributor Author

vjuras commented May 27, 2016

Maybe someone know workaround for this?

@lucasBertola
Copy link

+1

@wenchaojiang
Copy link

wenchaojiang commented Jun 1, 2016

  + 1

@balajicbabu
Copy link

+1

1 similar comment
@ashwinaggarwal
Copy link

+1

@danialfarid
Copy link
Owner

Fixed at 12.2.12

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

No branches or pull requests

6 participants