I am using Reactive FormsModule
in Angular2
. Now, I want to disable all controls of FormGroup
. I can use readOnly
property in all controls but it is not better solution as we might add new fields in near future.
So, Is there anyway to disable FormGroup
controls in short ?