This repository was archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27.4k
docs: step 6 of tutorial use a href rather than an ng-href #10828
Labels
Milestone
Comments
Narretz
added a commit
to Narretz/angular.js
that referenced
this issue
Jan 23, 2015
When a parser has the same name as a validator key, and a parse error occurs, set validity for parser name after setting validity for the validator key. Otherwise, the parse key is set, and then immediately afterwards the validator key is unset (because parse errors remove all other validations). Fixes angular#10698 Closes angular#10828
Narretz
added a commit
to Narretz/angular.js
that referenced
this issue
Jan 23, 2015
For $validate(), it is necessary to store the parseError state in the controller. Otherwise, if the parser name equals a validator key, $validate() will assume a parse error occured if the validator is invalid. Also, setting the validity for the parser now happens after setting validity for the validator key. Otherwise, the parse key is set, and then immediately afterwards the validator key is unset (because parse errors remove all other validations). Fixes angular#10698 Closes angular#10828
It looks like I referenced the wrong issue to close. |
This is not really necessary as it is unlikely that the user will click on a link before Angular has had time to fill it correctly. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
step_06.ngdoc uses a dynamically generated link with the href attribute rather than the ng-href attribute.
The text was updated successfully, but these errors were encountered: