How to use textarea ngModel and default value?


#1

I am new in ionic and have a problem with textarea. This is my code:

<textarea [(ngModel)]=“userData.aboutme” name="" id="" cols=“30” rows=“20” value="{{ about_me}}" style=“width:100%; padding: 10px; margin-top: 3px;” >

The problem is that the value is not showing inside textarea. It’s show only if i remove the [(ngModel)]. I need help for this thanks a lot


#2

remove the value attribute