Get control properties inside control component
问题 I created a custom input component but I want to work with errors inside the component. So to make validation work I need to get errors from control object. Is it possible? I did my component exactly like here. Top part of the component: @Component({ selector: 'sc-input', styles, template: ` <label class="label"> <ng-content></ng-content> <input class="input" [(ngModel)]='value' [attr.name]='name' [attr.type]='type' (blur)='onBlur($event)' (focus)='onFocus($event)'> <div class="errors"> <div