I might be wrong here, but after a bit of research it seems impossible to extract the list of validators from a FormControl
const ctrl = new FormControl(null,[Validators.minLength(8), Validators.required]});
I would like a list with these validators, so I can do something like this (in theory)
const validators = ctrl.getValidators();
ctrl.setValidators( [...validators, myOwnValidator]);
Ideally I would like to append a validator, but as far as I know that is not possible.
I found two suggestions on the internet to access the validators on a FormControl:
1)
const validator = ctrl.validator('' as any as AbstractControl);
// -> {required: true}
- const validator = ctrl.validator({} as AbstractControl); // -> {required: true}
Both options do exactly the same thing, they return an object with just one key required and a value true. Not very useful because I don't see anything about the other validator and I need the validator classes (because I need to set the validators again).
What I have found so far is not very useful, so I was wondering if I missed something. So any help would be appreciated!

validatorsconst? Because I need to add another validator, so I need all the existing ones.