fix(form): Form directives are exportedAs 'ngForm' (was 'form')
fixes #5658 BREAKING CHANGE: Before: <form #f="form"> After: <form #f="ngForm"> Closes #5709
This commit is contained in:
@ -78,7 +78,7 @@ class ShowError {
|
||||
template: `
|
||||
<h1>Checkout Form (Model Driven)</h1>
|
||||
|
||||
<form (ng-submit)="onSubmit()" [ng-form-model]="form" #f="form">
|
||||
<form (ng-submit)="onSubmit()" [ng-form-model]="form" #f="ngForm">
|
||||
<p>
|
||||
<label for="firstName">First Name</label>
|
||||
<input type="text" id="firstName" ng-control="firstName">
|
||||
|
Reference in New Issue
Block a user