Open mrjf opened 9 years ago
I'm seeing a compilation issue when defining a Jade template (for autoform, if that matters). Textareas are not receiving contents or dynamic attributes from a helper. Here's how it's compiling:
jade:
template(name='afTextarea_custom') textarea($dyn=atts) #{this.value}
javascript:
Template.__checkName("afTextarea_custom"); Template["afTextarea_custom"] = new Template("Template.afTextarea_custom", (function() { var view = this; return HTML.TEXTAREA(); }));
I suspect this block but have not investigated yet:
https://github.com/mquandalle/meteor-jade/blob/master/packages/jade-compiler/lib/transpilers.js#L246-L249
try
template(name='afTextarea_custom') textarea($dyn=atts)=this.value
I'm seeing a compilation issue when defining a Jade template (for autoform, if that matters). Textareas are not receiving contents or dynamic attributes from a helper. Here's how it's compiling:
jade:
javascript:
I suspect this block but have not investigated yet:
https://github.com/mquandalle/meteor-jade/blob/master/packages/jade-compiler/lib/transpilers.js#L246-L249