ember-freestyle icon indicating copy to clipboard operation
ember-freestyle copied to clipboard

Template loops over freestyle-variations seem to break / not work

Open techdragon opened this issue 6 years ago • 2 comments

I was unable to build a simple "permutation gallery" using the variations tool and an each loop over a simple array. I tried several variations, some of which did nothing others just generated thousands of glimmerVM errors.

It would be good to have a simple example of how to build a freestyle variation component inside of a loop. Freestyle Dynamic is also not what I'm looking for. The simple example I have on hand is bootstrap button types. I should be able to display each variation/type of bootstrap button in a simple each loop over an array of "primary", "secondary", etc.

techdragon avatar Feb 21 '19 06:02 techdragon

Hi @techdragon! Is this still an issue? I've tried using an {{#each}} loop in combo with the freestyle-variant component and it seems to work.

bertdeblock avatar Oct 10 '21 13:10 bertdeblock

It's been a very long time, it's entirely possible some underlying bug has been fixed in the interim. I haven't been using ember for over 12months as well. So at this point it's probably best to consider this more of a friendly request for documentation than a bug report.

techdragon avatar Oct 12 '21 04:10 techdragon