title: Angular material datepicker doesn't work property with text-mask library
body: <p>I'm using text-mask library(<a href="https://www.npmjs.com/package/angular2-text-mask" rel="nofollow noreferrer">https://www.npmjs.com/package/angular2-text-mask</a>) trying to use inside two angular datepicker component.
  It's work when I need to set the date writring down into the input, but when I use the datepciker's icon, the date is not set into my reactive form.</p>
  <pre><code>&lt;form [formGroup]=&quot;form&quot; autocomplete=&quot;off&quot;&gt;
       &lt;mat-form-field appearance=&quot;outline&quot;&gt;
                  &lt;mat-label&gt;Data Inicial&lt;/mat-label&gt;
                  &lt;input matInput [textMask]=&quot;mask&quot; [matDatepicker]=&quot;pickerInicial&quot; formControlName=&quot;beginDate&quot;&gt;
                  &lt;mat-datepicker-toggle matSuffix [for]=&quot;pickerInicial&quot;&gt;&lt;/mat-datepicker-toggle&gt;
                  &lt;mat-datepicker #pickerInicial&gt;&lt;/mat-datepicker&gt;
       &lt;/mat-form-field&gt;
      
        &lt;mat-form-field appearance=&quot;outline&quot;&gt;
                  &lt;mat-label&gt;Data Final&lt;/mat-label&gt;
                  &lt;input matInput [textMask]=&quot;mask&quot; [matDatepicker]=&quot;pickerFinal&quot; formControlName=&quot;endDate&quot;&gt;
                  &lt;mat-datepicker-toggle matSuffix [for]=&quot;pickerFinal&quot;&gt;&lt;/mat-datepicker-toggle&gt;
                  &lt;mat-datepicker #pickerFinal&gt;&lt;/mat-datepicker&gt;
        &lt;/mat-form-field&gt;
  &lt;/form&gt;
  </code></pre>
  <p><a href="https://i.stack.imgur.com/3wD1h.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3wD1h.png" alt="enter image description here" /></a></p>
  <p>TS</p>
  <pre><code>public mask = {
      guide: true,
      showMask: true,
      mask: [/\d/, /\d/, '/', /\d/, /\d/, '/', /\d/, /\d/, /\d/, /\d/],
    };
  
    ngOnInit(): void {
      this.buildForm();
    }
  
    buildForm() {
      this.form = this._formBuilder?.group({
        beginDate: [],
        endDate: [],
      });
  </code></pre>