title: How can I output the content of a JSON in mat-date-picker with GET?
body: <p>I have written a mat-date-picker and would like to output the value from fiscalYearStart from my JSON. I have written the following code:</p>
  <pre><code>&lt;div class=&quot;form-group&quot; id=&quot;align-date-picker&quot;&gt;
                          &lt;mat-form-field appearance=&quot;fill&quot; id=&quot;optimize-form-field&quot;&gt;
                            &lt;mat-label&gt;Datum&lt;/mat-label&gt;
                            &lt;label&gt;
                              &lt;input matInput [matDatepicker]=&quot;picker&quot; formControlName=&quot;fiscalYearStart&quot; required&gt;
                            &lt;/label&gt;
                            &lt;mat-datepicker-toggle matSuffix [for]=&quot;picker&quot;&gt;&lt;/mat-datepicker-toggle&gt;
                            &lt;mat-datepicker #picker&gt;&lt;/mat-datepicker&gt;
                          &lt;/mat-form-field&gt;
                        &lt;/div&gt;
  </code></pre>
  <pre><code>ngOnInit() {
      // To initialize loadData
      this.loadData();
    }
  
   // Fill the dashboard with data
    loadData() {
      this.userAreaService.getCurrentFiscalYear().subscribe( resp =&gt; {
        const fiscalYearStart = resp.success ? resp.mandant.fiscalYearStart : null;
        return fiscalYearStart;
      });
    }
  </code></pre>
  <pre><code>// JSON
  {
      &quot;success&quot;: true,
      &quot;mandant&quot;: {
          &quot;mandantId&quot;: 1,
          &quot;firm&quot;: &quot;Test1&quot;,
          &quot;landLineNumber&quot;: &quot;+658978784344&quot;,
          &quot;fiscalYearStart&quot;: &quot;Dez. 6, 2020&quot; // I want to output this
      }
  }
  </code></pre>