title: How to pass value using string interpolation in angular reactive forms
body: <p>i have a list of posts and each post has post comment form , i am trying to send post id with comment form for each post but it's not working..</p>
  
  <p>i have tried to use 
  </p>
  
  <pre><code>  &lt;form class="comment-form inline-items" [formGroup]="form2" (ngSubmit)="onSubmitComment()"&gt;
  
      &lt;div class="post__author author vcard inline-items"&gt;
        &lt;img src="{{user.photo}}" alt="author"&gt;
  
          &lt;h1&gt;{{post.id}}&lt;/h1&gt; &lt;!-- it's working here --&gt;
  
        &lt;div class="form-group with-icon-right "&gt;
          &lt;textarea class="form-control" placeholder="" name="body" formControlName="body"&gt;&lt;/textarea&gt;
  
          &lt;input  type="text"  value={{post.id}}  name="id" formControlName="id"/&gt; &lt;!-- it's not working here --&gt;
  
  
  
        &lt;/div&gt;
      &lt;/div&gt;
  
      &lt;button class="btn btn-md-2 btn-primary"&gt;Post Comment&lt;/button&gt;
  
  
    &lt;/form&gt;
  </code></pre>
  
  <p>I have expected to send the post id with the comment but its sending null value</p>