I got a typescript class which has many attributes (in total 22). There are some booleans. Depending on them other attributes can/can\'t be set by user. Im using reactiveForms.