How should a flexible FormControl in angular2 create FormGroup optimality?

this set of forms has three sets of states, but input is required and needs to be validated. When input is hidden, you don"t need to validate the form, and you don"t need its value;
now, with this switch, how do you create FormGroup optimization? My current practice is as follows, switching only the changes. I wonder if there is any other easier way.

<form [formGroup]="">
    <form [formGroup]="">
        ...
    </form>
</form>
Mar.29,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea70e1-47bfa.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea70e1-47bfa.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?