meteor-jade icon indicating copy to clipboard operation
meteor-jade copied to clipboard

textarea gives error

Open satyavh opened this issue 9 years ago • 3 comments

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

satyavh avatar Dec 19 '15 16:12 satyavh

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)

daveeel avatar Dec 30 '15 15:12 daveeel

I'll look into it over the next couple of days. Sorry for the delay!

dalgard avatar Dec 30 '15 15:12 dalgard

Saw some movement on the package mquandalle:jade, perhaps helpful?

Maxximus007 avatar Jan 13 '16 19:01 Maxximus007