I am using Angular Reactive Form to create a simple form, in the past i was using raw form controls (without form group, neither form builder), and i know that when disabling a form control its value cannot be read unless we used the getRawValue() method.
But now the case is different i am using form array with the help of form builder and form groups, and i wanted to disable some forms based on a condition (i am getting infos from the back-end and i just allow the creation of new infos, the old created infos cannot be updated and also is don't want their value when getting the FormArray.value) so i thought why not disabling them and achieve my goal, but the problem as stated in the title of this question, i am getting the value of these form groups inside my FormArray.value.
I know that i can fix this by filtering on the formArray.value array and get only the values that i want, but i am wondering why the disable thingy is not working!!!
P.S.: I am using formGroup.disable() to disable the form and when checking the form group objects i see that they are DISABLED indeed.