Skip to content

Commit ac7b7a3

Browse files
ludmilanesvitiyvalorkin
authored andcommitted
fix(datepicker): remove min-max logic from formats demo (#4967)
1 parent 9fe4acc commit ac7b7a3

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

demo/src/app/components/+datepicker/demos/custom-format/custom-format.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
<div class="col-xs-12 col-md-5 col-lg-4 form-group">
44
<input
55
class="form-control"
6-
[minDate]="minDate"
7-
[maxDate]="maxDate"
86
#dpYMD="bsDatepicker"
97
bsDatepicker
108
formControlName="myDateYMD"
@@ -20,8 +18,6 @@
2018
<div class="col-xs-12 col-md-5 col-lg-4 form-group">
2119
<input
2220
class="form-control"
23-
[minDate]="minDate"
24-
[maxDate]="maxDate"
2521
#dpMDY="bsDatepicker"
2622
bsDatepicker
2723
formControlName="myDateMDY"
@@ -37,8 +33,6 @@
3733
<div class="col-xs-12 col-md-5 col-lg-4 form-group">
3834
<input
3935
class="form-control"
40-
[minDate]="minDate"
41-
[maxDate]="maxDate"
4236
#dpFull="bsDatepicker"
4337
bsDatepicker
4438
formControlName="myDateFull"

demo/src/app/components/+datepicker/demos/custom-format/custom-format.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ import { FormControl, FormGroup } from '@angular/forms';
66
templateUrl: './custom-format.html'
77
})
88
export class DemoDatePickerCustomFormatComponent {
9-
minDate = new Date(2017, 5, 10);
10-
maxDate = new Date(2018, 9, 15);
119

1210
myForm = new FormGroup({
1311
myDateYMD: new FormControl(new Date()),

0 commit comments

Comments
 (0)