Ng-bind-html in textarea


#1

I want to make <br /> in textarea to fall in line
<textarea rows="4" ng-bind-html="data.details"> {{data.details}} </ textarea>
It does not work
Help please :slight_smile:


#2

You should probably NOT be putting the data in that way. You should be using ng-model. http://docs.angularjs.org/api/ng/directive/textarea

If you need more help, please setup a CodePen sample that shows what you are trying to do.


#3

Ok, thank you very much!!!