I am using ionic 3, and i discovered that when I using ion-textarea, and have breakline in it, and then submit, it will not have preserve the breakline automatically.
my code:
<ion-textarea #replyinput [(ngModel)]="commentData.comment" maxlength="200" name="comment" style="min-height:100px;" type="text" formControlName="comment" placeholder="{{ 'Comment.replyPlaceholder' | translate }}"></ion-textarea>
And I have input:
Hello
everyone
it shows: Hello everyone
Anyone know how to solve? thanks a lot