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

Multiple grids on page with cardTemplateString use the last template available #32

Closed
elado opened this issue Mar 1, 2014 · 1 comment

Comments

@elado
Copy link
Contributor

elado commented Mar 1, 2014

http://plnkr.co/edit/SPdgpMOZzwYbDcBqN8pn?p=preview

<div deckgrid source="[1,2,3]" cardTemplateString="aaa" class="deckgrid"></div>
<hr>
<div deckgrid source="[1,2,3,4]" cardTemplateString="bbb" class="deckgrid"></div>
<hr>
<div deckgrid source="[1,2,3,4,5,6,7]" cardTemplateString="ccc" class="deckgrid"></div>
<hr>
<div deckgrid source="[1,2,3,4,5,6,7,8]" cardTemplate="tpl1.html" class="deckgrid"></div>
<hr>
<div deckgrid source="[1,2,3,4,5,6,7,8]" cardTemplate="tpl2.html" class="deckgrid"></div>
<hr>
<div deckgrid source="[1,2,3,4,5,6,7]" cardTemplateString="ddd" class="deckgrid"></div>

Expected: templates aaa, bbb and ccc also displayed.
Actual result: all templates are ddd

elado added a commit to elado/angular-deckgrid that referenced this issue Mar 1, 2014
@elado
Copy link
Contributor Author

elado commented Mar 1, 2014

See #33 PR.

@elado elado closed this as completed Mar 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant