This commit is contained in:
Richard Park 2020-01-07 11:36:29 +09:00
commit ee3646fe00
2 changed files with 4 additions and 0 deletions

View File

@ -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);
}
}

View File

@ -6,6 +6,7 @@
matInput
#input
class="stepper-input"
readonly
[attr.maxlength]="maxLength"
[attr.placeholder]="placeholder"
[attr.disabled]="disabled"