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 component id not correctly registered #14

Closed
daanbroekhuizen opened this issue Aug 2, 2016 · 2 comments
Closed

Dynamic component id not correctly registered #14

daanbroekhuizen opened this issue Aug 2, 2016 · 2 comments
Assignees
Labels

Comments

@daanbroekhuizen
Copy link

Whenever I try to dynamically assign an id to a panel it gets registered with the literal string instead of the dynamic one. Example:

<md-expansion-panel ng-repeat="section in indexCtrl.menu" md-component-id="{{'panel_' + $index}}">

</md-expansion-panel>

Will give all the panels the literal string "panel_$index" as id making it in inaccessible through the $mdExpansionPanel service.

@daanbroekhuizen daanbroekhuizen changed the title Dynamic component not correctly registered Dynamic component id not correctly registered Aug 2, 2016
@B-3PO B-3PO added the bug label Aug 2, 2016
@B-3PO B-3PO self-assigned this Aug 2, 2016
@B-3PO
Copy link
Owner

B-3PO commented Aug 2, 2016

I will look into this over the weekend

B-3PO added a commit that referenced this issue Aug 6, 2016
updated component id handling so it observe the attribute so you can …
@B-3PO
Copy link
Owner

B-3PO commented Aug 6, 2016

fixed in new version

@B-3PO B-3PO closed this as completed Aug 6, 2016
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

2 participants