why i am not able to make the text area partially non editable in angular 5 and typescript?
问题 I am having an angular project developed using angular 5 and typescript . In my component's html template I have an text area box. I want to make the first few characters non editable in this text area. So for example from my components ts file i can set the initial value, for example : "RMO " to my text area . The user cannot remove the text "RMO " which is set in the text area. i have got some jquery code to achieve this (http://jsfiddle.net/zq4c873L/1/) and i convert it to typescript code.