ngModel for textarea not working in angular 2

后端 未结 8 2165

I am trying to print json object in textarea using ngModel.

I have done following:


for Two way binding You just need to add attribute in textarea tag name="message", ONLY [(ngModel)] works 100%!.

提交回复
热议问题