ngModel for textarea not working in angular 2

后端 未结 8 2025

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

I have done following:


Make sure no other space or return character in between the above line.

Then an traditional button, ex.

Apply

I found this is better in some case than brutal [(rapidPage)].

You can also use @ViewChild('textbox') input inside the component to access this variable.

提交回复
热议问题