Partial not receiving data within block helper #355

pixeldrew opened this Issue Nov 1, 2012 · 1 comment

2 participants



I'm having issues passing data to partials that are within a block helper.

I've read all of the docs and I'm almost 100% sure i'm doing this right, but I can't get it to work but if I pull the partial back into the block, it will work. Is it not supposed to work?

Please see here:

Note in the output that the name attribute of the radio button should be populated with the data variable "@level"


Private vars are not automatically detected when run in partials. The next version of handlebars will make data passing default. In the mean time you can pass {data: true} to compile to work around this issue.

@kpdecker kpdecker closed this Jan 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment