You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: docs/content/guide/forms.ngdoc
+1-1
Original file line number
Diff line number
Diff line change
@@ -286,7 +286,7 @@ In the following example we create two directives.
286
286
* The first one is `integer` and it validates whether the input is a valid integer.
287
287
For example `1.23` is an invalid value, since it contains a fraction.
288
288
Note that we unshift the array instead of pushing.
289
-
This is because we want to be first parser and consume the control string value, as we need to execute the validation function before a conversion to number occurs.
289
+
This is because we want it to be the first parser and consume the control string value, as we need to execute the validation function before a conversion to number occurs.
290
290
291
291
* The second directive is a `smart-float`.
292
292
It parses both `1.2` and `1,2` into a valid float number `1.2`.
0 commit comments