meteor-jade
meteor-jade copied to clipboard
textarea gives error
hi,
this works
input.form-control.comment($bind="value: comment")
but this
textarea.form-control.comment($bind="value: comment")
gives error:
Jade syntax error: Cannot read property 'length' of undefined
I have similar error, obvious it only occurs with textarea
This works
textarea(name='comment' placeholder="{{_ 'leave_some_comment'}}")
While
textarea(name='comment' placeholder="{{_ 'leave_some_comment'}}" $b="text: comment")
Gives:
While building the application:
client/component/game/answer.jade: Jade syntax error: Cannot read property 'length' of undefined
packages/compileJade/plugin/handler.js:54:1: Cannot read property 'head' of undefined (compiling client/component/game/answer.jade) (at fileModeHandler)
I'll look into it over the next couple of days. Sorry for the delay!
Saw some movement on the package mquandalle:jade, perhaps helpful?