title: Angular 2 retrieve text box values
body: <p>How to retrieve the multiple text Box's values using Id while submit in angular 2 .</p>
  
  <p>For example:</p>
  
  
  
  <pre><code>&lt;ul&gt;
  &lt;li *ngFor="let dummydata of data;let i=index"  &gt;&lt;input type="text" #dummyid{{I}}/&gt;
  &lt;/ul&gt;
  
  &lt;button (click)="getalltextbox()"&gt;&lt;/button&gt;
  </code></pre>
  
  <p>How to get all text box values while click button. </p>