How do i Make a part of Text Not Editable ..
My .html code is
<input type="text" placeholder="Enter Company Name" class="wc-form-control nobg" formControlName="subject" " id="subjectid">
My .ts code is to append the Input box with class
var el = document.createElement("span");
el.innerHTML = ('<span class="nonEdit"> {{' + this.checboxvalue + '}} </span>');
this.editecompanydetail.patchValue({subject: this.editecompanydetail.value.subject + el.innerHTML })
But it is getting appended with tag , Any solution on this ...