mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-31 09:37:15 +01:00
Merged PR 375: Fix Protected Variable Access in Text Input Component Template
This commit is contained in:
@@ -39,7 +39,7 @@ export class UiTextInputComponent implements ControlValueAccessor, OnInit {
|
||||
public touched = false;
|
||||
public focussed = false;
|
||||
|
||||
protected get isInvalid(): boolean {
|
||||
public get isInvalid(): boolean {
|
||||
return (
|
||||
!this.ngControl.valid &&
|
||||
!this.ngControl.disabled &&
|
||||
@@ -47,7 +47,7 @@ export class UiTextInputComponent implements ControlValueAccessor, OnInit {
|
||||
);
|
||||
}
|
||||
|
||||
protected get errorMessage(): string {
|
||||
public get errorMessage(): string {
|
||||
return Object.values(this.ngControl.errors).join('| ');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user