I'm trying to bind a variable to a header to show what the current step is (ie, 'You are on step 1 of 10'). I have it working for a textarea and can't figure out why it doesn't work for a header.
private mainStepText: String = "Welcome";
<div class="mainWindow">
<textarea [(ngModel)]="mainStepText"></textarea>
</div>
What I have so far is
private testLabel: String = "This is a test label for html";
<div class="test">
<h3 class="labelName" [(ngModel)]="testLabel"></h3>
</div>
Right now it throws an error
"ERROR Error: Uncaught (in promise): Error: No value accessor for form control with unspecified name attribute Error: No value accessor for form control with unspecified name attribute"