Brandon Roberts
05e3e4d71e
docs(forms): update API reference for form validators ( #24734 )
...
PR Close #24734
2018-07-10 18:52:40 -07:00
Pete Bacon Darwin
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
Pete Bacon Darwin
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
Igor Minar
b43f8bc7d3
feat(core): upgrade rxjs to 6.0.0-alpha.4 ( #22573 )
...
PR Close #22573
2018-03-19 21:51:51 -07:00
Phil McCloghry-Laing
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
ghetolay
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
Kapunahele Wong
a66cd526c3
docs(forms): add text about min() and max() as functions ( #21110 )
...
PR Close #21110
2017-12-22 21:36:46 -08:00
WilliamKoza
35977e3830
fix(forms): Broken link NG_VALIDATORS replace by an example ( #15480 )
...
PR Close #15480
2017-12-05 21:53:12 -08:00
Kara Erickson
a222c3e609
fix(forms): fix min and max validator behavior on non-numbers
2017-06-08 13:59:17 -07:00
Igor Minar
71f5b73296
docs: fix links in api docs
2017-05-03 09:22:32 +01:00
Toxicable
81925fa66d
feat(forms): introduce min and max validators ( #15813 )
...
PR Close #15813
2017-04-27 17:39:17 -05:00
Miško Hevery
57bc245cb4
fix(forms): Update types for TypeScript nullability support
...
This reverts commit 6d930d2fc5069018de2abd532bf601414bdbbd10.
2017-04-18 12:07:33 -07:00
Tobias Bosch
6d930d2fc5
Revert "fix(forms): Update types for TypeScript nullability support"
...
This reverts commit 6649743a2d18bb7a57c25a2e35bf44d2e0d86868.
Broke in G3.
2017-04-17 09:56:09 -07:00
Miško Hevery
6649743a2d
fix(forms): Update types for TypeScript nullability support
...
This reverts commit 2e47a0d19fa1d1527cf998d87cd8a49bc968606a.
2017-04-14 15:10:26 -07:00
Tobias Bosch
2e47a0d19f
Revert "fix(forms): Update types for TypeScript nullability support ( #15859 )" ( #15977 )
...
This reverts commit 6a2e08d0a8ae24b73d457d58d1b224ce1487ffac.
2017-04-13 18:03:42 -07:00
Miško Hevery
6a2e08d0a8
fix(forms): Update types for TypeScript nullability support ( #15859 )
2017-04-13 17:14:08 -07:00
Dzmitry Shylovich
c17b912eb9
refactor: use object spread operator rather than merge ( #15426 )
2017-03-24 14:45:33 -07:00
Dzmitry Shylovich
5486e5417b
feat(forms): allow to compile forms in strictNullChecks mode ( #14679 )
...
Closes #14667
PR Close #14679
2017-03-17 13:47:12 -05:00
Kara
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
Kara
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
Jason Aden
3e51a19983
refactor: move angular source to /packages rather than modules/@angular
2017-03-08 16:29:27 -08:00