Skip to content

Commit

Permalink
fix(datepicker): remove min-max logic from formats demo (#4967)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludmilanesvitiy authored and valorkin committed Dec 21, 2018
1 parent 9fe4acc commit ac7b7a3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
<div class="col-xs-12 col-md-5 col-lg-4 form-group">
<input
class="form-control"
[minDate]="minDate"
[maxDate]="maxDate"
#dpYMD="bsDatepicker"
bsDatepicker
formControlName="myDateYMD"
Expand All @@ -20,8 +18,6 @@
<div class="col-xs-12 col-md-5 col-lg-4 form-group">
<input
class="form-control"
[minDate]="minDate"
[maxDate]="maxDate"
#dpMDY="bsDatepicker"
bsDatepicker
formControlName="myDateMDY"
Expand All @@ -37,8 +33,6 @@
<div class="col-xs-12 col-md-5 col-lg-4 form-group">
<input
class="form-control"
[minDate]="minDate"
[maxDate]="maxDate"
#dpFull="bsDatepicker"
bsDatepicker
formControlName="myDateFull"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import { FormControl, FormGroup } from '@angular/forms';
templateUrl: './custom-format.html'
})
export class DemoDatePickerCustomFormatComponent {
minDate = new Date(2017, 5, 10);
maxDate = new Date(2018, 9, 15);

myForm = new FormGroup({
myDateYMD: new FormControl(new Date()),
Expand Down

0 comments on commit ac7b7a3

Please sign in to comment.