bba5e2632e
docs(forms): clarify the pattern validator behavior ( #27560 )
...
PR Close #27560
2018-12-21 15:12:31 -05:00
1b84b11cf5
Revert "fix(forms): apply unicode flag to pattern attribute when supported ( #20819 )" ( #27375 )
...
This reverts commit 3c34b8b4f1
.
breaks google3 see http://cl/223526995
PR Close #27375
2018-11-30 10:49:27 -08:00
3c34b8b4f1
fix(forms): apply unicode flag to pattern attribute when supported ( #20819 )
...
Both Firefox and Chrome have applied unicode flag to the `pattern` content attribute of INPUT element.
See https://www.chromestatus.com/feature/4753420745441280
PR Close #20819
2018-11-29 21:19:37 -08:00
982bc7f2aa
docs: update forms with @publicApi
tags ( #26595 )
...
PR Close #26595
2018-10-19 14:35:53 -07:00
7d39bc68fb
docs(forms): move extended text to @usageNotes ( #26039 )
...
Headings are not allowed in the basic description block.
PR Close #26039
2018-09-24 09:11:02 -07:00
05e3e4d71e
docs(forms): update API reference for form validators ( #24734 )
...
PR Close #24734
2018-07-10 18:52:40 -07:00
4b96a58c5a
docs: remove all deprecated @stable
jsdoc tags ( #23210 )
...
These are no longer needed as stable docs are computed as those that
do not have `@experimental` or `@deprecated` tags.
PR Close #23210
2018-04-10 21:49:32 -07:00
92821e338b
docs(forms): remove unnecessary {@link Injector}
jsdoc tags ( #23186 )
...
Inline code blocks are automatically linked, if possible, to their API
page.
PR Close #23186
2018-04-05 09:27:29 -07:00
b43f8bc7d3
feat(core): upgrade rxjs to 6.0.0-alpha.4 ( #22573 )
...
PR Close #22573
2018-03-19 21:51:51 -07:00
140e7c00d1
fix(forms): make Validators.email support optional controls ( #20869 )
...
Bring email validator in line with other validators so that empty values are ignored.
PR Close #20869
2018-02-07 12:05:08 -08:00
54bf179888
feat(forms): handle string with and without line boundary on pattern validator ( #19256 )
...
PR Close #19256
2018-01-16 07:11:54 -08:00
a66cd526c3
docs(forms): add text about min() and max() as functions ( #21110 )
...
PR Close #21110
2017-12-22 21:36:46 -08:00
35977e3830
fix(forms): Broken link NG_VALIDATORS replace by an example ( #15480 )
...
PR Close #15480
2017-12-05 21:53:12 -08:00
a222c3e609
fix(forms): fix min and max validator behavior on non-numbers
2017-06-08 13:59:17 -07:00
71f5b73296
docs: fix links in api docs
2017-05-03 09:22:32 +01:00
81925fa66d
feat(forms): introduce min and max validators ( #15813 )
...
PR Close #15813
2017-04-27 17:39:17 -05:00
57bc245cb4
fix(forms): Update types for TypeScript nullability support
...
This reverts commit 6d930d2fc5
.
2017-04-18 12:07:33 -07:00
6d930d2fc5
Revert "fix(forms): Update types for TypeScript nullability support"
...
This reverts commit 6649743a2d
.
Broke in G3.
2017-04-17 09:56:09 -07:00
6649743a2d
fix(forms): Update types for TypeScript nullability support
...
This reverts commit 2e47a0d19f
.
2017-04-14 15:10:26 -07:00
2e47a0d19f
Revert "fix(forms): Update types for TypeScript nullability support ( #15859 )" ( #15977 )
...
This reverts commit 6a2e08d0a8
.
2017-04-13 18:03:42 -07:00
6a2e08d0a8
fix(forms): Update types for TypeScript nullability support ( #15859 )
2017-04-13 17:14:08 -07:00
c17b912eb9
refactor: use object spread operator rather than merge ( #15426 )
2017-03-24 14:45:33 -07:00
5486e5417b
feat(forms): allow to compile forms in strictNullChecks mode ( #14679 )
...
Closes #14667
PR Close #14679
2017-03-17 13:47:12 -05:00
26d4ce29e8
fix(forms): ensure observable validators are properly canceled ( #15132 )
...
Observable subscriptions from previous validation runs should be canceled
before a new subscription is created for the next validation run.
Currently the subscription that sets the errors is canceled properly,
but the source observable created by the validator is not. While this
does not affect validation status or error setting, the source
observables will incorrectly continue through the pipeline until they
complete. This change ensures that the whole stream is canceled.
AsyncValidatorFn previously had an "any" return type, but now it more
explicitly requires a Promise or Observable return type. We don't
anticipate this causing problems given that any other return type
would have caused a runtime error already.
2017-03-16 10:15:17 -07:00
778f7d6f33
fix(forms): remove equalsTo validator ( #15050 )
...
This API was introduced only in a beta release, and is being removed because we found it to be incorrect prior to launch. For more information about why this is being removed, see https://github.com/angular/angular/pull/15050 .
2017-03-14 15:37:51 -07:00
3e51a19983
refactor: move angular source to /packages rather than modules/@angular
2017-03-08 16:29:27 -08:00