Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49526

How to use textarea ngModel and default value?

$
0
0

@tallgotte wrote:

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

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49526

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>