title: Angular 8: How to patch formcontrol values to mat-datepicker with [min] date validation and formcontrol date value is less then the [min] Date?
body: <p>How to patch formcontrol values to mat-datepicker with [min] Date validation and formcontrol date is less then the [min] Date?</p>
  
  <p>here is the <code>html</code>.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;label class="label input-form-label"&gt;Date:&lt;/label&gt;
  &lt;span class="input-group-addon" (click)="picker.open();"&gt;
    &lt;input [matDatepicker]="picker" [min]="today" type="text" class="input-form" formControlName="date"&gt;
    &lt;div class="datepicker-icon-div" style="right: 30px;"&gt;
      &lt;i class="fa fa-calendar"&gt;&lt;/i&gt;
    &lt;/div&gt;
  &lt;/span&gt;
  &lt;span&gt;
    &lt;mat-datepicker #picker&gt;&lt;/mat-datepicker&gt;
  &lt;/span&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>here is the <code>reactive form</code>.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>today = new Date(); // suppose todays date is 27-05-2020 
  pastDate = new Date(2020, 05, 24);
  
  this.form = this.fb.group({
    date: [this.today, Validators.required]
  })
  
  patchFormValue(){
    this.form.patchValue({
      date: this.pastDate
    })
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>I want to disable the past dates from the <code>matdatepicker</code> so i have added the [min] validation to it. But i want to patch past date too.
  Is there any other way so that i can disable the dates or patch the past date?</p>