From 944499da7473b30c98b84aea0507700787a7be54 Mon Sep 17 00:00:00 2001 From: Libor Zoubek Date: Sat, 24 Sep 2016 01:17:35 +0200 Subject: [PATCH] Imlement ReactiveForms setDisabledState for TimepickerComponent --- components/timepicker/timepicker.component.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/timepicker/timepicker.component.ts b/components/timepicker/timepicker.component.ts index 74777c04c0..b0847d2dfd 100644 --- a/components/timepicker/timepicker.component.ts +++ b/components/timepicker/timepicker.component.ts @@ -196,6 +196,10 @@ export class TimepickerComponent implements ControlValueAccessor, OnInit { this.onTouched = fn; } + public setDisabledState(isDisabled: boolean): void { + this.readonlyInput = isDisabled; + } + protected updateHours():void { if (this.readonlyInput) { return;