ember-cli-materialize icon indicating copy to clipboard operation
ember-cli-materialize copied to clipboard

#each loop inside md-card-collapsible - no auto update

Open lukaiser opened this issue 9 years ago • 1 comments

I have the following code:

{{#md-card-collapsible accordion=false}}
  {{#each layers as |layer|}}
    {{#md-collapsible}}
     ....
    {{/md-collapsible}}
  {{/each}}
{{/md-card-collapsible}}

If a new new layer gets added, the corresponding md-collapsible gets created. But you can't interact with it, as the initiation happens on md-card-collapsible level and is over by then. I could initiate again in a surrounding component when ever layers change but that would break the autonomy of the collapsible component.

How should I handle this?

Thanks for the help!

lukaiser avatar Oct 29 '15 09:10 lukaiser

I'll make sure that this works in the next major version

#292

mike-north avatar Jul 24 '16 03:07 mike-north