HTML textarea default value does not visualise -
i have problem textarea. have set default value in html doesn't visualise. here picture:
http://postimg.org/image/lbn5mwugv/
also utilize textarea save info mongodb though default value not saved , because read empty when nil typed in(there default value between , )
it generated jade :
.usercontainer .col-md-4 img.profileimg(src="{{ identity.currentuser.profilepic }}" , width="50px" , height="50px") .profiledata {{ identity.currentuser.firstname }} {{ identity.currentuser.lastname }} textarea.post-form.form-control(rows="4" , placeholder="share world of linkme", ng-model='activity.body') textarea.post-form.form-control#firstname(rows="4" , ng-model='activity.firstname') {{ identity.currentuser.firstname }} textarea.post-form.form-control#lastname(rows="4" , ng-model='activity.lastname') {{ identity.currentuser.lastname }} textarea.post-form.form-control#profilepic(rows="4" , ng-model='activity.profilepic') {{ identity.currentuser.profilepic }} a#post-btn.btn.btn-primary.pull-right(ng-click="addpost(activity)", href="/") link br br br ul.noliststyle li(ng-repeat="post in activity | orderby: '-date'") .postbody {{ post.body }} on {{ post.date | date: 'dd mmm h:mm'}} {{ post.firstname }} {{ post.lastname }}
html textarea
No comments:
Post a Comment