jeudi 27 mai 2021

Accessing MatCheckbox from AbstractControl

I have a MatCheckbox in a FormGroup that I want to be able to read the indeterminate value of. But the FormGroup only gives me AbstractControls, which do not seem be castable to, nor contain any reference to, the underlying control that I have been able to find.

How can I read the indeterminate value of the underlying MatCheckbox?




Aucun commentaire:

Enregistrer un commentaire