Relative Content

Tag Archive for angularangular-materialangular-reactive-forms

Angular16 disabled not working reacativeForms

I am making a reactive form with Angular 16. When the checkbox is checked, I want to prevent data entry to one of the inputs, that is, disable it. My code is as follows, but it doesn’t work, can you help me? When I remove the formcontrolname, it becomes disabled, but then I cannot receive the entered data.