title: I got _this._driver.validateStyleProperty is not a function
body: <p>I'm using Angular Material with Angular v6. When I used it in my HTML file. I got an error like this:</p>
  
  <pre><code>ERROR TypeError: _this._driver.validateStyleProperty is not a function
  </code></pre>
  
  <p>Excerpt from my Angular Material module:</p>
  
  <pre class="lang-ts prettyprint-override"><code>MatFormFieldModule,
  MatInputModule,
  MatSelectModule
  </code></pre>
  
  <p>HTML usage:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;mat-form-field&gt;
       &lt;mat-select placeholder="Select item"&gt;
           &lt;mat-option *ngFor="let x of data" [value]="x.value"&gt;
                  {{x.viewValue}}
           &lt;/mat-option&gt;
       &lt;/mat-select&gt;
  &lt;/mat-form-field&gt;  
  </code></pre>
  
  <p>After so many googling and RND, I have tried changing the version of Angular Animations and Angular Material. But it doesn't work for me.  </p>