Skip to content

Commit 2e9b59c

Browse files
author
jiahongL
committed
fix bug
1 parent dc3f603 commit 2e9b59c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/app/text-input/text-input.component.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,6 @@ export class TextInputComponent implements OnInit, AfterViewInit, ControlValueAc
6464
}
6565

6666
setDisabledState(isDisabled: boolean): void {
67-
if (
68-
isDisabled && this.ngControl.control.disabled === isDisabled ||
69-
!isDisabled && this.ngControl.control.enabled === !isDisabled
70-
) {
71-
return;
72-
}
7367
this.disabled = isDisabled;
7468
}
7569

0 commit comments

Comments
 (0)