How to make a disabled reactive form Editable in Angular2

Just use following code to enable your form .

this.comapnyIdentificationForm.enable();

To get a json object. Use following code:

this.comapnyIdentificationForm.value;

To fill-up your form with backend data use following code:
this.comapnyIdentificationForm.patchValue(jsonData);

Leave a Comment