ember-cli-materialize
ember-cli-materialize copied to clipboard
#each loop inside md-card-collapsible - no auto update
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!
I'll make sure that this works in the next major version
#292