angular-training-slides icon indicating copy to clipboard operation
angular-training-slides copied to clipboard

Fix Slide reactive-forms-modifying-the-view

Open sonukapoor opened this issue 7 years ago • 0 comments

Fix code to use the correct variable name for the input. It's called textEntryFormControl instead of textEntryControl

<form [formGroup]="textEntryForm" (ngSubmit)="addToDo()">
  <p>
    Item: <input [formControl]="textEntryControl">
    <button type="submit">Add</button>
  </p>
</form>

sonukapoor avatar May 15 '17 16:05 sonukapoor