From 267c404fd1285f6e3ae1046ca237a2990223f8e7 Mon Sep 17 00:00:00 2001 From: leejinho Date: Tue, 7 Jan 2020 08:18:46 +0900 Subject: [PATCH] =?UTF-8?q?#=20=EC=9D=B4=EC=8A=88=EC=B2=98=EB=A6=AC=20121?= =?UTF-8?q?=20=EC=98=88=EC=95=BD=20=EC=84=A4=EC=A0=95=20=ED=99=94=EB=A9=B4?= =?UTF-8?q?=2060=EB=B6=84=20=EB=B3=B4=EC=97=AC=EC=A7=90=20::=20=ED=94=84?= =?UTF-8?q?=EB=A1=9C=EA=B7=B8=EB=9E=A8=20=EC=88=98=EC=A0=95=20=EB=B0=8F=20?= =?UTF-8?q?=EC=9E=85=EB=A0=A5=20=ED=95=84=EB=93=9C=20readonly=20=EC=B2=98?= =?UTF-8?q?=EB=A6=AC.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/lib/components/pick-time.component.ts | 3 +++ .../src/lib/components/step-input.component.html | 1 + 2 files changed, 4 insertions(+) diff --git a/projects/ucap-webmessenger-ui/src/lib/components/pick-time.component.ts b/projects/ucap-webmessenger-ui/src/lib/components/pick-time.component.ts index f6ac40c5..ccbf267d 100644 --- a/projects/ucap-webmessenger-ui/src/lib/components/pick-time.component.ts +++ b/projects/ucap-webmessenger-ui/src/lib/components/pick-time.component.ts @@ -42,6 +42,9 @@ export class PickTimeComponent implements OnInit { this.hourSelected.emit(hour); } onChangedMinute(minute: number) { + if (!!minute && minute === 60) { + minute = minute - this.minuteStep; + } this.minuteSelected.emit(minute); } } diff --git a/projects/ucap-webmessenger-ui/src/lib/components/step-input.component.html b/projects/ucap-webmessenger-ui/src/lib/components/step-input.component.html index 823f0ece..944b9758 100644 --- a/projects/ucap-webmessenger-ui/src/lib/components/step-input.component.html +++ b/projects/ucap-webmessenger-ui/src/lib/components/step-input.component.html @@ -6,6 +6,7 @@ matInput #input class="stepper-input" + readonly [attr.maxlength]="maxLength" [attr.placeholder]="placeholder" [attr.disabled]="disabled"