title: mat-input not working properly in mat-table Angular 8
body: <p>I'm facing issue in mat-table, my input field is not working properly inside table. All rows are using one input field. Means if I type text inside the input box, all rows showing that text</p>
  <p>my code:</p>
  <pre class="lang-html prettyprint-override"><code>&lt;ng-container matColumnDef=&quot;Remarks&quot;&gt;
      &lt;mat-header-cell *matHeaderCellDef&gt;scheduled hours&lt;/mat-header-cell&gt;
      &lt;mat-cell *matCellDef=&quot;let element&quot;&gt;  
          &lt;mat-form-field&gt;
              &lt;input matInput [(ngModel)]=&quot;Remarks&quot; (input)=&quot;$event.target.value.length &gt; 2 &amp;&amp; Remarks($event.target.value)&quot;  name=&quot;AppRemarks&quot;  #AppRemarks=&quot;ngModel&quot;  placeholder=&quot;Remarks&quot;&gt; &amp;nbsp; &amp;nbsp;
          &lt;/mat-form-field&gt; 
      &lt;/mat-cell&gt;
  &lt;/ng-container&gt;
  </code></pre>