Is it possible to get minlength value from formcontrol?
问题 So i have my form validation. And my question is can i get for example a minlength value which i passed at creating formControl? I havent found any information. This is my dumb component and i want to get minlength value to pass to information. Now i need to pass it via @Input(). title: ['', [Validators.required, Validators.minLength(4), Validators.maxLength(20)]] . <div class="validation-window"> <p *ngIf="errors.required"> {{field}} required </p> <p *ngIf="formControl.hasError('minlength')"