title: Error using mat-checkbox inside an editable material table
body: <p>I've created an editable using Angular Material, when a row is in an editable state each cell will show an input field depending on what data type is being displayed, e.g. if the cell is a string it will have an input field of type 'text'.</p>
  <pre class="lang-html prettyprint-override"><code>&lt;mat-form-field&gt;
     &lt;mat-label&gt; {{column}} &lt;/mat-label&gt;
     &lt;input type=&quot;text&quot; matInput [(ngModel)]=&quot;element[column]&quot;/&gt;
  &lt;/mat-form-field&gt;
  </code></pre>
  <p>This works fine when using either text or number but I want to have a boolean checkbox as well, but when I try to use <code>mat-checkbox</code> instead of input I get an error 'mat-form-field must contain a MatFormFieldControl.'. Even though I'm using <code>ngModel</code> the same as I am with text and numbers.</p>
  <pre class="lang-html prettyprint-override"><code>&lt;div *ngIf=&quot;column === 'checkType'&gt;
     &lt;mat-checkbox [(ngModel)]=&quot;element[column]&quot;&gt;&lt;/mat-checkbox&gt;
  &lt;/div&gt; 
  </code></pre>
  <p>Any help would be greatly appreciated.</p>